##// END OF EJS Templates
addremove: correctly handle intermediate symlinks...
addremove: correctly handle intermediate symlinks This fixes problems mentioned in issue660 comments (unrelated to original issue) where directory was renamed, and symlink was added instead. In such situation addremove wasn't able to correctly detect that old files no longer here, but tried to add symlink (and failed due collision with old files).

File last commit:

r1933:7544700f default
r6651:7f0dd352 default
Show More
test-backwards-remove
12 lines | 201 B | text/plain | TextLexer
/ tests / test-backwards-remove
Thomas Arendsen Hein
Don't use 'set -x', fix exports, sed and hexdump usage for Solaris.
r800 #!/bin/sh
mpm@selenic.com
hg merge: fix time asymmetry bug with deleting files on update to past...
r383 hg init
echo This is file a1 > a
hg add a
Thomas Arendsen Hein
Use 'hg ci -d "1000000 0"' in tests to circumvent problem with leading zero....
r1933 hg commit -m "commit #0" -d "1000000 0"
mpm@selenic.com
hg merge: fix time asymmetry bug with deleting files on update to past...
r383 ls
echo This is file b1 > b
hg add b
Thomas Arendsen Hein
Use 'hg ci -d "1000000 0"' in tests to circumvent problem with leading zero....
r1933 hg commit -m "commit #1" -d "1000000 0"
mpm@selenic.com
hg merge: fix time asymmetry bug with deleting files on update to past...
r383 hg co 0
# B should disappear
ls