Categories
status

Very nice tutorial about mercurial, the …

Very nice tutorial about mercurial, the version control system
http://hginit.com/index.html

Categories
status

Use hg summary to check the status of my …

Use hg summary to check the status of my files.
Looking for (clean) to make sure the changes are committed and there is nothing to merge.

Example of clean status

> hg summary
parent: 12:267d20bf2b03 tip
 merged rev.tex
branch: default
commit: 20 unknown (clean)
update: (current)

Example when the changed is not committed and there is a merge in the repository.

parent: 8:43cedbe623e7 
 merged rev.tex
branch: default
commit: 1 modified, 20 unknown
update: 2 new changesets, 2 branch heads (merge)
Categories
post

Difference between hg clone and hg pull (Backing up Mercurial Repository)

hg clone will make a new repository (.hg).
hg pull will pull changeset from the depository to the current *existing* repository.

So hg clone can be used at first if you want to backup your repository and afterthat, use hg pull to update the backup.

Categories
status

List all files that Mercurial is trackin…

List all files that Mercurial is tracking.

>hg status -a -c -m -d