[Bug 4241] New: hg log does not see largefiles (unless given a .hglf prefix)

mercurial-bugs at selenic.com mercurial-bugs at selenic.com
Thu May 8 08:46:10 CDT 2014


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

          Priority: normal
            Bug ID: 4241
                CC: mercurial-devel at selenic.com, natosha at gmail.com
          Assignee: bugzilla at selenic.com
           Summary: hg log does not see largefiles (unless given a .hglf
                    prefix)
          Severity: bug
    Classification: Unclassified
                OS: Windows
          Reporter: esskov at gmail.com
          Hardware: PC
            Status: UNCONFIRMED
           Version: 2.9.2
         Component: largefiles
           Product: Mercurial

It appears that hg log only sees a largefile (or a changeset with a largefile)
if an absolute path is specified with a ".hglf/" prefix. That is not what I
would have expected.

The following commands demonstrate the issue:

>mkdir a
>echo 123  1> a\mylargefile
>hg add --large a\mylargefile
>hg ci -m "first mylargefile"
>echo 456  1>> a\mylargefile
>hg ci -m "second mylargefile"

>mkdir b
>echo abc  1> b\myfile
>hg add b\myfile
>hg ci -m "first myfile"

>hg log a

>hg log b
changeset:   2:dcc6da420b71 [...]
summary:     first myfile

>hg log -r "file('a/**')"

>hg log -r "file('b/**')"
changeset:   2:dcc6da420b71 [...]
summary:     first myfile

>hg log -r "file('a/mylargefile')"

>hg log -r "file('b/myfile')"
changeset:   2:dcc6da420b71 [...]
summary:     first myfile

>hg log -v -r -2
changeset:   1:aa5390401595 [...]
files:       .hglf/a/mylargefile
description:
second mylargefile

>hg log .hglf/a/mylargefile
changeset:   1:aa5390401595 [...]
summary:     second mylargefile

changeset:   0:8fb73be7d3d5 [...]
summary:     first mylargefile

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


More information about the Mercurial-devel mailing list