The command hg log -v -r 2:5
can be used to see details on changesets 2/3/4/5 - is there a similar way you can view changeset details on JUST changesets 2 and 5?
Mercurial - hg log for just two changesets?
1.1k views Asked by Marcus Leon At
1
Use separate
-r
specifiers:It will give you the log entries in the same order you specify rev numbers.
Here's a test which demonstrates this:
Now run
hg log -v -r 0 -r 2
in the hgTest directory, and you'll see:Notice there's no mention of the file
1.txt
which was added in revision 1.