Issue2093

Title update with local changes doesn't correctly handle directory renames
Priority bug Status chatting
Superseder Nosy List abuehl, djc, ede, mg, mpm, tonfa
Assigned To Topics merge

Created on 2010-03-13.14:10:05 by tonfa, last changed 2011-09-12.22:21:57 by mpm.

Messages
msg17384 (view) Author: mpm Date: 2011-09-12.22:21:57
Confirmed. Whether doing a commit first gives the same result seems to be a
good measure of correctness.
msg12041 (view) Author: tonfa Date: 2010-03-13.14:10:05
With the following script:

hg init repo
cd repo
mkdir t
for i in a b c d e ;
do	echo $i > t/$i
done
hg ci -Am init
hg mv t tt
hg ci -m rename


hg up 0
echo f > t/f
hg add t/f    # new
echo g > t/g  # unknown
hg rm t/a     # removed
echo b >> t/b # modified
hg st -A
#hg ci -m m
#hg --debug merge
hg --debug up
hg st -A

'f' is marked as modified in tt (instead of new), 'a' isn't removed and 
'b' isn't merged.

If we commit first, it's better but not perfect: 'a' isn't removed by the 
merge.
History
Date User Action Args
2011-09-12 22:21:57mpmsetstatus: unread -> chatting
nosy: mpm, tonfa, mg, djc, abuehl, ede
messages: + msg17384
2010-04-07 13:48:23mgsetnosy: + mg
2010-03-15 08:30:54djcsetnosy: + djc
2010-03-13 15:38:23edesetnosy: + ede
2010-03-13 14:23:39abuehlsetnosy: + abuehl
2010-03-13 14:11:02tonfasetnosy: mpm, tonfa
title: update with local changes doesn't correctly directory renames -> update with local changes doesn't correctly handle directory renames
2010-03-13 14:10:05tonfacreate