Mercurial repositories always contain the complete past history, including all the past branching and merging. The revision history is seldom linear:

https://wiki.secondlife.com/w/images/f/f5/Hg-dag-0.png

Considering the complexity of the revision history, it is a good idea to tag important revisions, for example any revision that was used for a release or some well defined milestone.

Examining the revision history needs to take the nature of the history into account. Unfortunately, the default behavior of "hg log" is not very helpful. It essentially reflects the order in which revisions got appended to the change log file. Fortunately, there are some options to "hg log" which will make examining the revision history easier.

For example, if you wanted to see all changes since v1.0, you'd use:

https://wiki.secondlife.com/w/images/e/e2/Hg-dag-1-since.png

A couple of notes:


CategoryHowTo

ChangesSince (last edited 2010-02-10 03:16:26 by CgLinden)