Version Control Systems Yuriy Gerasimov Madcap B.V. [email_address]
Centralized VCS SVN
CVS
Distributed VCS Mercurial
Git
Bazzar
Mercurial hg init
hg clone  http://hg.serpentine.com/tutorial/hello
hg clone repo repo_clone
hg clone ssh://user@server//srv/hg/repo
Mercurial hg status (hg st)
hg diff
hg add
hg rm
hg addremove
Mercurial hg commit (hg ci <files> -m ‘message’)
hg rollback (rollback last commit)
hg update (hg update -C)
hg revert -r <rev> --all
hg tag
Mercurial hg log
-l5 – last 5 commits
--graph – graph view (-G)
--style compact / changelog / <custom>
-d’Dec 9’ – date
Mercurial hg pull (hg pull -u)
hg push
hg heads
hg merge
Mercurial $  hg pull ../my-hello pulling from ../my-hello searching for changes adding changesets adding manifests adding file changes added 1 changesets with 1 changes to 1 files (+1 heads) (run 'hg heads' to see heads, 'hg merge' to merge)
Mercurial
Mercurial hg merge hg update -C hg merge Wrong conflict resolution
Mercurial hg serve
localhost:8000
Mercurial .hgignore
hg forget
hg blame
Mercurial Mistakes Edit file. hg revert (creates .orig file)
File management errors (add / remove). hg revert

DrupalCafe5 VCS