##// 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:

r6344:ffeb926d default
r6651:7f0dd352 default
Show More
test-rebuildstate
19 lines | 246 B | text/plain | TextLexer
/ tests / test-rebuildstate
Alexis S. L. Carvalho
dirstate: fix rebuild; add a test...
r5065 #!/bin/sh
# basic test for hg debugrebuildstate
hg init repo
cd repo
touch foo bar
hg ci -Am 'add foo bar'
touch baz
hg add baz
hg rm bar
Matt Mackall
tests: make test-rebuildstate repeatable
r6344 hg debugrebuildstate
echo '% state dump after'
Alexis S. L. Carvalho
debugstate: add --nodates...
r6296 hg debugstate --nodates | sort
Alexis S. L. Carvalho
dirstate: fix rebuild; add a test...
r5065 echo '% status'
hg st -A