Marcus Leon
Marcus Leon

Reputation: 56699

Mercurial - use hg log to view all descendants

To view all ancestors of a changeset you can use hg log -r :xyz. How can you view all descendants of a changeset?

Upvotes: 5

Views: 2373

Answers (2)

Vlad H
Vlad H

Reputation: 3689

If you use newer mercurial you can use hg log -r 'descendants(xyz)' or hg log -r xyz::.

Upvotes: 11

Frank V
Frank V

Reputation: 25429

From the console, I am not sure. However if I need to do this I start:

hg serve

and then view the graph that Mercurial will generate in a browser.

Upvotes: 2

Related Questions