[issue2648] Temporary dirs and bundles don't get deleted
Steffen Daode Nurpmeso
bugs at mercurial.selenic.com
Fri Feb 18 11:23:48 UTC 2011
New submission from Steffen Daode Nurpmeso <sdaoden at gmail.com>:
I know i shouldn't do that, but after finding some stale temporary
directories from a test session two days ago i reproduced the following
misbehaviour:
cd $TMPDIR
export TMPDIR="$TMPDIR/t"
mkdir -p t/a
cd t/a
hg init
echo 'A line' > f1.txt
hg add
hg ci -m 'A. Initial commit, f1'
cd ..
hg clone a b
cd b
echo 'B line' > f2.txt
hg add
hg ci -m 'B. Initial commit, f2'
hg bundle ../b.bundle ../a
cd ..
# This will do, but it will create a bundle file in a/.hg/,
# and it seems that is not removed no more (also see Issue 2645).
# In fact: if you 'hg pull b.bundle' yet a second, equal, bundle
# is created, and that one is not removed either.
cd a; hg --repository ../b.bundle log; cd ..
# This will unfortunately fail (Issue 2645), but it will not clean
# up the temporary dir+repo dir either.
hg --repository b.bundle log
----------
messages: 15307
nosy: sdaoden
priority: bug
status: unread
title: Temporary dirs and bundles don't get deleted
____________________________________________________
Mercurial issue tracker <bugs at mercurial.selenic.com>
<http://mercurial.selenic.com/bts/issue2648>
____________________________________________________
More information about the Mercurial-devel
mailing list