How to use Mercurial to work with demexp sources

demexp development is done with Mercurial, a distributed source control management system. You need first to install Mercurial on your computer. Please refer to previous link for detailed instructions.

Available trees

All the Mercurial repositories for demexp are available from this URL: http://www.linux-france.org/cgi-bin/hgwebdir.cgi

Currently, there are :

How to work on a tree

To work on demexp source code, the proposed workflow is as follow:

1. Firstly, clone the latest demexp repository:

$ hg clone http://www.linux-france.org/cgi-bin/hgwebdir.cgi/demexp/latest-dev upstream-demexp-dev

You will have in your local repository upstream-demexp-dev/ a local copy of the whole demexp sources, with its history.

2. Then, make a local working copy, to make your own changes:

$ hg clone upstream-demexp-dev my-demexp-dev

3. Work on your local copy:

$ cd my-demexp-dev
$ <hack hack hack>
$ hg commit

You can commit multiple times to your local repository, with usual Mercurial commands like hg commit.

5. Once you have a new functionnality that you want to integrate into demexp sources, make a patch of your changes and submit it to mailto:demexp-dev@nongnu.org mailing list, preferably as inlined text:

$ hg export 401 tip ## here we assume that your changes start in changeset 401

It is recommended that you send individual changes to the list.

en/mercurial_for_demexp.txt · Last modified: 2011/06/01 14:47 (external edit)
 
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki