[Bug 3542] New: hg commit's addremove option does not notice added or removed largefiles

bugzilla-daemon at bz.selenic.com bugzilla-daemon at bz.selenic.com
Fri Jul 13 18:54:00 CDT 2012


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

          Priority: normal
            Bug ID: 3542
                CC: mercurial-devel at selenic.com, natosha at gmail.com
          Assignee: bugzilla at selenic.com
           Summary: hg commit's addremove option does not notice added or
                    removed largefiles
          Severity: bug
    Classification: Unclassified
                OS: Linux
          Reporter: chris_wachter at hotmail.com
          Hardware: PC
            Status: UNCONFIRMED
           Version: 2.2.2
         Component: largefiles
           Product: Mercurial

This causes a commit to add an extra regular version of the largefile in the
add case, and a refusal to commit in the remove case.

linux/bash example:

$ mkdir test; cd test
$ hg version | head -n 1
Mercurial Distributed SCM (version 2.2.2)

$ hg init
$ touch foo
$ hg add --large foo
$ hg ci -m 'init'
$ touch bar
$ hg add --large bar
$ hg ci -Avm 'the commit addremove option does not notice the add'
adding bar
adding foo
.hglf/bar
bar
foo
calling hook commit.lfiles: <function checkrequireslfiles at 0xdd99668>
committed changeset 1:8d5db318207a

$ touch baz
$ hg add --large baz
$ hg ci -vm 'no duplicate add without -A'
.hglf/baz
calling hook commit.lfiles: <function checkrequireslfiles at 0xb0d1668>
committed changeset 2:95e107aaf4f3

$ rm baz
$ hg stat
! baz

$ hg ci -Avm 'the commit addremove option does not notice the rm'
nothing changed

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


More information about the Mercurial-devel mailing list