How to make a patch against specific Moodle version

How to make a patch against specific Moodle version

by Robert Brenstein -
Number of replies: 1
A question to all the CVS whizzards in Moodleland.

I fetch a certain version of Moodle and make extensive changes in its core functions. I now want to make those changes available to other Moodlers.

I gather the best way is to produce a patch file. What is then an exact CVS command that would produce such a file? I can keep an unchanged copy of the original release if that makes things simpler than comparing to annon CVS server.

I read man pages for cvs and patch but I am too dense I am afraid.
Average of ratings: -
In reply to Robert Brenstein

Re: How to make a patch against specific Moodle version

by Martin Dougiamas -
Picture of Core developers Picture of Documentation writers Picture of Moodle HQ Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers
It's too simple, that's why you missed it. smile

cvs diff -u > mypatches.txt