Mercurial: Difference between revisions

Jump to navigation Jump to search
mNo edit summary
(Changed title from "Patches" to "Submitting patches" in order to be explicit.)
Line 2: Line 2:
This page contains some helpful commands to use when interacting with the GNU Octave mercurial repository.
This page contains some helpful commands to use when interacting with the GNU Octave mercurial repository.


== Patches ==
== Submitting patches ==
When you do not have push permissions to the repository (you cannot add your changes using mercurial itself) and you have a modification to the current GNU Octave code,  you have to generate a patch (or changeset) so developers with permissions can include them in the code. The overview of the process is as follows
When you do not have push permissions to the repository (you cannot add your changes using mercurial itself) and you have a modification to the current GNU Octave code,  you have to generate a patch (or changeset) so developers with permissions can include them in the code. The overview of the process is as follows
# Change the code and test that your changes do work (write tests, that's the best!).
# Change the code and test that your changes do work (write tests, that's the best!).
Line 66: Line 66:


The file mychangeset.patch contains your changes.
The file mychangeset.patch contains your changes.


== Mercurial Tips for SoC students ==
== Mercurial Tips for SoC students ==