Mercurial: Difference between revisions
Jump to navigation
Jump to search
(Elaborated on the procedure of submitting a patch, since it seems to be such a common question.) |
mNo edit summary |
||
Line 46: | Line 46: | ||
* Export the modifications. This creates a file (in the case of the example below, it is called mypatch.patch) that contains a description of the changes that you've made. Someone else can then apply the patch and end up with a repository that looks the same as yours. | * Export the modifications. This creates a file (in the case of the example below, it is called mypatch.patch) that contains a description of the changes that you've made. Someone else can then apply the patch and end up with a repository that looks the same as yours. | ||
<pre> hg export -r tip -o mypatch.patch </pre> | <pre> hg export -r tip -o mypatch.patch </pre> | ||
* Save the output to a file and upload it to the patch tracker. | * Save the output to a file and upload it to the patch tracker. If your patch file is larger than the upload limit, you can compress it before uploading. Please use a free format! | ||
==== Using the MQ extension ==== | ==== Using the MQ extension ==== |