[Bug 4330] New: Committing a directory with changed regular files and unchanged large files fails

mercurial-bugs at selenic.com mercurial-bugs at selenic.com
Mon Aug 11 20:39:39 CDT 2014


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

          Priority: normal
            Bug ID: 4330
                CC: mercurial-devel at selenic.com, natosha at gmail.com
          Assignee: bugzilla at selenic.com
           Summary: Committing a directory with changed regular files and
                    unchanged large files fails
          Severity: bug
    Classification: Unclassified
                OS: Mac OS
          Reporter: zenbot at gmail.com
          Hardware: PC
            Status: UNCONFIRMED
           Version: 3.1
         Component: largefiles
           Product: Mercurial

Attempting to commit a specific directory that contains an unchanged large file
but a changed regular file results in a failure.

To reproduce:

$ hg init
$ mkdir foo
$ touch foo/bar
$ hg add --large foo/bar
$ hg ci -m "adding foo/bar"
$ touch foo/baz
$ hg add foo/baz
$ hg ci -m "adding foo/baz" foo
abort: .hglf/foo: no match under directory!

Not specifying the directory or specifying the file inside the directory is
fine:

$ hg ci -m "adding foo/baz"  # fine
$ hg rollback
$ hg ci -m "adding foo/baz" foo/baz  # also fine

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


More information about the Mercurial-devel mailing list