klenwell information services : DevMercurial

Revision [1915]

This is an old revision of DevMercurial made by KlenwellAdmin on 2011-08-24 14:24:46.
 

Mercurial (Hg)

return to CategoryDevelopment

Notes and references for the usage of Mercurial in development.

Topics

MercurialBranches Branches

Commands

List Files Changed between Two Revisions
ref: stackoverflow.com
# hg status --rev x:y
$ hg status --rev default:dev-branch | grep -i '^M'


Untrack a File
ref: stevelosh.com
# hg rm -Af FILE (stops tracking without deleting file
$ hg rm -Af /home/me/hg/my-project/cake/app/conf/core.php 


Configuration Settings

vim ~/.hgrc

Some Recommended Settings
[ui]
username=Tom <klenwell@gmail.com>

# Disable automatic vim diff merge
merge=internal:merge

[web]
# When using the serve option, use this display style
style = gitweb

[extensions]
# Enable the 'glog' graphical log extension
hgext.graphlog=
hgext.convert=

# Enable CVS style variable substitution
hgext.keyword=


References

Mercurial Wiki (selenic.com)