[Bug 3934] New: "hg log -f" fails when largefiles enabled

mercurial-bugs at selenic.com mercurial-bugs at selenic.com
Fri May 10 18:14:40 CDT 2013


          Priority: normal
            Bug ID: 3934
                CC: mercurial-devel at selenic.com, natosha at gmail.com
          Assignee: bugzilla at selenic.com
           Summary: "hg log -f" fails when largefiles enabled
          Severity: bug
    Classification: Unclassified
                OS: Windows
          Reporter: james.leskovar at commscope.com
          Hardware: PC
            Status: UNCONFIRMED
           Version: 2.5
         Component: largefiles
           Product: Mercurial


Performing a "hg log -f <file>" fails with "abort: cannot follow file not in
parent revision: ".hglf/<file>" when the largefiles extension is enabled. The
problem appears to happen in Mercurial 2.5.0 and onwards.

Steps to Reproduce: 

1) Have the largefiles extension enabled in user hgrc (e.g.

2) Perform the following commands:

hg init myrepo
cd myrepo
echo some text > file.txt
hg add
hg commit -m "first commit"
hg log -f file.txt

The following error occurs:
abort: cannot follow file not in parent revision: ".hglf/file.txt"

Build Date & Platform: 
Mercurial Distributed SCM (version 2.5) (mercurial-2.5.0-x64) on Windows 7

Doesn't Occur On Build 2006-08-10 on Windows XP Home (Service Pack 2)
Additional Information: Confirmed the issue occurs on future Mercurial versions
as well (2.5.1, 2.6)

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

More information about the Mercurial-devel mailing list