Marcus Leon
Marcus Leon

Reputation: 56699

Determining 'active' changeset with Mercurial?

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.

Upvotes: 6

Views: 237

Answers (1)

Tim Henigan
Tim Henigan

Reputation: 62218

There are several ways to find this out:

Note that hg update actually changes the revision of your working copy, so you definitely should not use that.

Upvotes: 7

Related Questions