##// END OF EJS Templates
add a fix for issue 1175...
add a fix for issue 1175 If we copy a file followed by an update, it's possible for the parent manifest to no longer contain the source file of the copy, which could cause commit to fail. If this happens, we search backwares from the first parent to find the most likely original revision.

File last commit:

r6344:ffeb926d default
r6875:0d714a48 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