|
Advertisement
|
|---|
The following steps will show you how to make an hg patch
$ hg pull
$ hg update -C
$ hg status
$ hg ci -u Yourname -m "Description of your change"
hg export -r tip -o descOfChange.patch
$ hg rollback
Note: If you are on Windows and use Tortoise HG
You can use the Repository Explorer and Windows Explorer context menu extension for updating and reverting the local copy.
Patch files can easily be created on the command line:
hg diff > Mypatchfile.patch
hg diff file1 file2 file3 > Mypatchfile.patch