Marcus Leon
Marcus Leon

Reputation: 56669

Mercurial - which head is active in your working directory?

hg head lists multiple heads. How do you know which head is active in your working directory?

Upvotes: 4

Views: 338

Answers (2)

Oben Sonne
Oben Sonne

Reputation: 9953

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.

Upvotes: 4

Tim Henigan
Tim Henigan

Reputation: 62168

From the command line, you can use: hg log -r . to see the revision of your working copy.

Upvotes: 0

Related Questions