Coding Knowledge Center
Mercurial
Branch |
hg up -C <branch>
Update to a specific branch.
Clone |
hg clone ssh://hg@hg.repo.com/<repo> <new repo_name>
Clone repo and give it a different name locally.
Log |
hg log
View commit log.
Log (branch) |
hg log --only-branch my_branch
View commit log for a specific branch.
Log (user) |
hg log --user "<first name> <lastname>"
View commit log for a specific user.
Resolve |
hg resolve -l
List files that have conflicts and need to be resolved.
Resolve |
hg resolve -m <filename>
Mark a file as resolved.