hg head
lists multiple heads. How do you know which head is active in your wo开发者_JS百科rking directory?
hg id
gives you the revision of the working directory. hg sum
provides the same information and some more. You might also want to check the compass extension which provides detailed information about the "location" of your working copy within the whole repository.
From the command line, you can use: hg log -r .
to see the revision of your working copy.
精彩评论