Home : Programming
Hg - Mercurial
Some notes about the Mercurial DVCS
.hgrc configuration file
Example vi ~/.hgrc file, with Google in mind:
[ui]
username = Mark Carter <mcturra2000@yahoo.co.uk>
[auth]
altmcarter-edpath-tweaks.prefix = https://altmcarter-edpath-tweaks.googlecode.com/hg/
altmcarter-edpath-tweaks.username = alt.mcarter@gmail.com
altmcarter-edpath-tweaks.password = [whatever]
Set privileges: chmod u=wr,og= ~/.hgrc
Pulling and merging
If you have cloned a site, and you want to incorporate upstream changes fully in with your local repo, then issue the command
hg pull -u
Note: at 08-Nov-2008: not sure if this is the full story, or if "merge" and "commit" is also required.
Bitbucket
hg clone ssh://hg@bitbucket.org/blippy/nokilli
Link to other sites
Merging work - discusses merging
Author: Mark Carter
Created: 08-Nov-2008
Updated: 05-Mar-2011