[issue3182] largefiles: inappropriate locking
Matt Mackall
bugs at mercurial.selenic.com
Wed Jan 4 11:38:20 CST 2012
New submission from Matt Mackall <mpm at selenic.com>:
With this script:
hg init a
cd a
cat > .hg/hgrc <<EOF
[extensions]
largefiles=
[hooks]
precommit=hg status
EOF
echo a > a
hg add a
hg ci -Am0
I get:
waiting for lock on working directory of /home/mpm/a held by 'calx:2800'
Having status use blocking locks makes it impossible to do anything useful
inside of a hook and is almost certainly against the lock-only-when-writing
approach Mercurial uses:
http://mercurial.selenic.com/wiki/LockingDesign
----------
messages: 18480
nosy: benjamin, kevingessner, mpm, natosha
priority: bug
status: unread
title: largefiles: inappropriate locking
____________________________________________________
Mercurial issue tracker <bugs at mercurial.selenic.com>
<http://mercurial.selenic.com/bts/issue3182>
____________________________________________________
More information about the Mercurial-devel
mailing list