[Bug 4664] New: hg log --follow --rev REV FILE doesn't traverse copies

mercurial-bugs at selenic.com mercurial-bugs at selenic.com
Wed May 13 21:52:37 UTC 2015


http://bz.selenic.com/show_bug.cgi?id=4664

          Priority: normal
            Bug ID: 4664
                CC: mercurial-devel at selenic.com
          Assignee: bugzilla at selenic.com
           Summary: hg log --follow --rev REV FILE doesn't traverse copies
          Severity: bug
    Classification: Unclassified
                OS: All
          Reporter: mpm at selenic.com
          Hardware: All
            Status: UNCONFIRMED
           Version: 3.4
         Component: Mercurial
           Product: Mercurial

Without -r, we get this behavior:

$ hg log --follow -T"{rev} {files}\n" mercurial/manifest.py | tail
30 mercurial/hg.py
29 hg mercurial/hg.py
25 mercurial/hg.py
20 mercurial/hg.py
19 mercurial/hg.py
15 mercurial/hg.py
10 mercurial/hg.py
9 mercurial/hg.py
4 mercurial/hg.py
0 PKG-INFO README hg mercurial/__init__.py mercurial/byterange.py
mercurial/fancyopts.py mercurial/hg.py mercurial/mdiff.py mercurial/revlog.py
mercurial/transaction.py notes.txt setup.py tkmerge

With -r, --follow stops at the Big Code Split:

$ hg log --follow -T"{rev} {files}\n" -r 3.4 mercurial/manifest.py | tail
1677 mercurial/changelog.py mercurial/filelog.py mercurial/localrepo.py
mercurial/manifest.py mercurial/revlog.py mercurial/statichttprepo.py
1651 mercurial/manifest.py
1650 mercurial/hgweb.py mercurial/manifest.py templates/changelog-gitweb.tmpl
templates/changelogentry-gitweb.tmpl templates/changeset-gitweb.tmpl
templates/fileannotate-gitweb.tmpl templates/fileannotate.tmpl
templates/filediff.tmpl templates/filelog-gitweb.tmpl
templates/filelog-rss.tmpl templates/filelog.tmpl
templates/filelogentry-rss.tmpl templates/filelogentry.tmpl
templates/filerevision-gitweb.tmpl templates/filerevision.tmpl
templates/manifest-gitweb.tmpl templates/manifest.tmpl templates/map
templates/map-gitweb templates/map-raw templates/summary-gitweb.tmpl
1541 mercurial/commands.py mercurial/dirstate.py mercurial/fancyopts.py
mercurial/filelog.py mercurial/hgweb.py mercurial/manifest.py mercurial/node.py
mercurial/transaction.py mercurial/util.py
1534 mercurial/manifest.py
1451 mercurial/manifest.py
1402 mercurial/changelog.py mercurial/commands.py mercurial/dirstate.py
mercurial/hgweb.py mercurial/httprepo.py mercurial/localrepo.py
mercurial/manifest.py mercurial/revlog.py mercurial/sshrepo.py
mercurial/transaction.py mercurial/ui.py mercurial/util.py
1400 mercurial/changelog.py mercurial/commands.py mercurial/dirstate.py
mercurial/hgweb.py mercurial/httprepo.py mercurial/i18n.py
mercurial/localrepo.py mercurial/manifest.py mercurial/revlog.py
mercurial/sshrepo.py mercurial/transaction.py mercurial/ui.py mercurial/util.py
1098 mercurial/manifest.py
1089 mercurial/changelog.py mercurial/dirstate.py mercurial/filelog.py
mercurial/hg.py mercurial/httprepo.py mercurial/localrepo.py
mercurial/manifest.py mercurial/node.py mercurial/remoterepo.py
mercurial/repo.py mercurial/revlog.py mercurial/sshrepo.py

(Prior to 3.4, this gives no output at all!)

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


More information about the Mercurial-devel mailing list