Mercurial (hg) cheat sheet

From Octave
Revision as of 13:29, 21 December 2011 by JordiGH (talk | contribs)
Jump to: navigation, search

This page contains some helpful commands to use when interacting with the GNU/Octave mercurial repository.


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

  1. Change the code and test that your changes do work (write tests, that's the best!).
  2. Create the changeset (instructions below).
  3. Post your patch in the Patch tracker.

Creating changesets with hg