[Bug 5476] New: largefiles: hg add doesn't respect largefiles.minsize and largefiles.patterns
mercurial-bugs at mercurial-scm.org
mercurial-bugs at mercurial-scm.org
Fri Feb 3 14:49:49 UTC 2017
https://bz.mercurial-scm.org/show_bug.cgi?id=5476
Bug ID: 5476
Summary: largefiles: hg add doesn't respect largefiles.minsize
and largefiles.patterns
Product: Mercurial
Version: 4.1
Hardware: PC
OS: Linux
Status: UNCONFIRMED
Severity: bug
Priority: wish
Component: largefiles
Assignee: bugzilla at mercurial-scm.org
Reporter: abcz2.uprola at gmail.com
CC: mercurial-devel at selenic.com, natosha at gmail.com
I can't add largefiles other than with `hg add --large` in mercurial 4.1. I
guess this is regression, because numerous answers on stackoverflow show that
this worked in the past.
test.sh
----
REPO=large-fail
rm -rf $REPO
mkdir $REPO
(
cd $REPO && hg init
dd if=/dev/zero of=$PWD/all.mmf bs=1M count=9
hg add --config extensions.largefiles= \
--config "largefiles.minsize=0" \
--config "largefiles.patterns = re:.*" \
--verbose --debug \
all.mmf
ls .hglf
)
Output:
----
$ ./test.sh
9+0 records in
9+0 records out
9437184 bytes (9.4 MB, 9.0 MiB) copied, 0.00525248 s, 1.8 GB/s
adding all.mmf
ls: cannot access '.hglf': No such file or directory
Expected:
----
$ ./test.sh
9+0 records in
9+0 records out
9437184 bytes (9.4 MB, 9.0 MiB) copied, 0.00487904 s, 1.9 GB/s
adding all.mmf as a largefile
all.mmf
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Mercurial-devel
mailing list