Log changed files with second parent
Martin Geisler
mg at lazybytes.net
Sun Oct 9 11:31:19 UTC 2011
Stanimir Stamenkov <s7an10 at netscape.net> writes:
> May be this is a FAQ but I haven't been able to figure it out or find
> definitive answer online: Is it possible to get a log of the changed
> files between a merge revision and its second parent? The help for
> the log command states: "Also, only files different from BOTH parents
> will appear in files:" - so does it mean it is generally impossible?
Just use status -- that is the command to consult if you want to know
what is changed between two revisions. Use
hg status --rev "X^2:X"
to see the difference between the second parent of X and X itself. The
same revision set syntax works with 'hg diff', see 'hg help revsets'.
--
Martin Geisler
aragost Trifork
Professional Mercurial support
http://aragost.com/mercurial/
More information about the Mercurial
mailing list