On Tue 01-Jun-2010 at 16:14 -0700, Terry Duell wrote:
The way the Mercurial repository works has me a bit baffled.
To clone the hugin trunk I used...

hg clone http://hugin.hg.sourceforge.net:8000/hgroot/hugin/hugin mytrunk

and that worked OK, putting the clone into local dir "mytrunk".
Yesterday I wanted to get the branch (if that is what it is) with the
gsoc2010_patent_free_cpm and test that

The hg clone command fetches the entire repository including all history and branches, but by default it gives you the sourcecode for the 'default' branch (i.e. the trunk).

You can get a list of branches with 'heads':

  hg heads

Switch to one of these branches with 'update':

  hg update gsoc2010_patent_free_cpm

Switch back to the trunk like so:

  hg update default

(mercurial will stop you if there are any uncommitted changes, discard them with `hg revert`)

Don't forget to fetch the latest changes for all 'branches' occasionally with `hg pull`, then update the visible branch with `hg update`.

--
Bruno

--
You received this message because you are subscribed to the Google Groups "hugin and 
other free panoramic software" group.
A list of frequently asked questions is available at: 
http://wiki.panotools.org/Hugin_FAQ
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at http://groups.google.com/group/hugin-ptx

Reply via email to