[issue3354] Largefiles: commit of mixed add (small/large) leaves small files as A
Christian Lackas
bugs at mercurial.selenic.com
Wed Apr 4 19:43:08 UTC 2012
New submission from Christian Lackas <lackas at invicro.com>:
Hi Everybody,
please see attached minimal script billbug.sh, which creates two files one
above and one below the lfsize threashold (I use 1k/2m with --lfsize 1 as an
example) and adds the files, then tries to commit them. Unfortunately, only
the large file is checked in (C), while the small one stays as A and is also
not recorded in the revision. Subsequent tries to check the small file in
lead to a 'nothing changed' message.
Please note that the first commit does NOT throw an error, although not all
files are checked in.
Our actual code uses 'addremove', however, the problems also occurs with a
plain 'add'.
Please let me know if I can provide any additional information, or if I am
doing anything wrong.
Thanks for your help,
Christian
Here is the entire output:
$ ./billbug.sh
init:
creating data:
total 2056K
-rw-r--r-- 1 lackas users 2097152 4. Apr 21:35 large
-rw-r--r-- 1 lackas users 1024 4. Apr 21:35 small
addremove:
adding project/large as a largefile
adding project/small
status pre-commit:
A project/large
A project/small
commit:
commit 2:
nothing changed
final status:
A project/small
Q: Why is project/small not commited, and why 'nothing changed'
Our hg version is 2.1.1, and we use Linux (CentOS 5).
----------
files: billbug.sh
messages: 19521
nosy: lackas
priority: bug
status: unread
title: Largefiles: commit of mixed add (small/large) leaves small files as A
topic: largefiles
____________________________________________________
Mercurial issue tracker <bugs at mercurial.selenic.com>
<http://mercurial.selenic.com/bts/issue3354>
____________________________________________________
-------------- next part --------------
A non-text attachment was scrubbed...
Name: billbug.sh
Type: application/x-sh
Size: 857 bytes
Desc: not available
URL: <http://lists.mercurial-scm.org/pipermail/mercurial-devel/attachments/20120404/7d6da11d/attachment-0002.sh>
More information about the Mercurial-devel
mailing list