[issue1167] hg log --follow-first on a file should show merge commits that introduce changes from unfollowed paths

L. David Baron mercurial-bugs at selenic.com
Fri Jun 6 18:37:08 CDT 2008


New submission from L. David Baron <dbaron at dbaron.org>:

It seems like the point of hg log --follow-first is to show the history of what
was in the central repository.  However, hg log --follow-first on a file doesn't
seem particularly useful, because it doesn't show anything at all when a change
to the file was introduced in a change that needed to be merged in order to be
pushed to that repository.  It seems like hg log --follow-first, when given a
file or directory argument (which causes the log to be subsetted to show only
the changes that are relevant to that file), ought to show the merge commits
that introduce changes to that file along the un-subsetted history that would be
shown by an hg log --follow-first on the whole repository.

To give a more concrete example, see the attached log.  I think the output of
"hg log --follow-first foo" near the end of the log should show changesets 0 and
3.  It currently shows only changeset 0.  (hg log --follow-first on the whole
repository should, and I think does, show changesets 0, 1, and 3.)

----------
files: log
messages: 6190
nosy: dbaron
priority: bug
status: unread
title: hg log --follow-first on a file should show merge commits that introduce changes from unfollowed paths

____________________________________________________
Mercurial issue tracker <mercurial-bugs at selenic.com>
<http://www.selenic.com/mercurial/bts/issue1167>
____________________________________________________
-------------- next part --------------
A non-text attachment was scrubbed...
Name: log
Type: application/octet-stream
Size: 2408 bytes
Desc: not available
Url : http://selenic.com/pipermail/mercurial-devel/attachments/20080606/bf78c11d/attachment.obj 


More information about the Mercurial-devel mailing list