[Bug 4173] New: `--follow` option to `hg log` cannot follow graph bifurcations

mercurial-bugs at selenic.com mercurial-bugs at selenic.com
Tue Feb 18 06:40:52 CST 2014


          Priority: normal
            Bug ID: 4173
                CC: mercurial-devel at selenic.com
          Assignee: bugzilla at selenic.com
           Summary: `--follow` option to `hg log` cannot follow graph
          Severity: bug
    Classification: Unclassified
                OS: Linux
          Reporter: g.gherdovich at gmail.com
          Hardware: All
            Status: UNCONFIRMED
           Version: 2.8.2
         Component: Mercurial
           Product: Mercurial

The fact are the following: in the small repo
I produce here, if I give the `--follow` flag to `hg log`,
it misses one revision:

$ hg init
$ touch foo ; hg add foo ; hg commit -m foo
$ touch bar ; hg add bar ; hg commit -m bar
$ hg up 0
$ touch baz ; hg add baz ; hg commit -m baz
$ hg log --template '{rev}\n' -G
@  2
| o  1
o  0

$ hg log --template '{rev}\n' -G -f
@  2
o  0

My humble hypotesis is that it doesn't follow both paths
of the "bifurcation".

You are receiving this mail because:
You are on the CC list for the bug.

More information about the Mercurial-devel mailing list