If you have changesets A, B, C, D, E in your repo and you execute hg update -c D
, how can you confirm that your repo is currently 'active' with changeset D? If we run hg tip
or hg head
, HG lists E and not D.
A changeset (sometimes abbreviated "cset") is an atomic collection of changes to files in a repository. It contains all recorded local modification that lead to a new revision of the repository. A changeset is identified uniquely by a changeset ID. In a single repository, you can identify it using a revision number.
Pull changes from the Mercurial upstream (Pull)From the main menu, choose Hg | Mercurial | Pull. Specify the required URL address of the source remote repository.
If you already have Mercurial installed, make sure you have version 1.7 or later. To check, enter hg --version at the command line.
There are several ways to find this out:
hg summary
hg identify
hg log -r .
Note that hg update
actually changes the revision of your working copy, so you definitely should not use that.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With