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

r3736:ad3d5b43 default
r6651:7f0dd352 default
Show More
test-rawcommit1
33 lines | 738 B | text/plain | TextLexer
Thomas Arendsen Hein
Don't use 'set -x', fix exports, sed and hexdump usage for Solaris.
r800 #!/bin/sh
mpm@selenic.com
options: kill -d for debug...
r591 hg --debug init
mpm@selenic.com
Add rawcommit tests...
r444 echo this is a1 > a
mpm@selenic.com
options: kill -d for debug...
r591 hg add a
Thomas Arendsen Hein
Use 'hg ci -d "1000000 0"' in tests to circumvent problem with leading zero....
r1933 hg commit -m0 -d "1000000 0"
mpm@selenic.com
Add rawcommit tests...
r444 echo this is b1 > b
mpm@selenic.com
options: kill -d for debug...
r591 hg add b
Thomas Arendsen Hein
Use 'hg ci -d "1000000 0"' in tests to circumvent problem with leading zero....
r1933 hg commit -m1 -d "1000000 0"
Matt Mackall
make manifest friendlier...
r3736 hg manifest --debug 1
mpm@selenic.com
Add rawcommit tests...
r444 echo this is c1 > c
Thomas Arendsen Hein
Use 'hg ci -d "1000000 0"' in tests to circumvent problem with leading zero....
r1933 hg rawcommit -p 1 -d "1000000 0" -m2 c
Matt Mackall
make manifest friendlier...
r3736 hg manifest --debug 2
Alexis S. L. Carvalho
rawcommit: add removed files to the changelog file list...
r3377 hg -v parents
mpm@selenic.com
Add rawcommit tests...
r444 rm b
Thomas Arendsen Hein
Use 'hg ci -d "1000000 0"' in tests to circumvent problem with leading zero....
r1933 hg rawcommit -p 2 -d "1000000 0" -m3 b
Matt Mackall
make manifest friendlier...
r3736 hg manifest --debug 3
Alexis S. L. Carvalho
rawcommit: add removed files to the changelog file list...
r3377 hg -v parents
mpm@selenic.com
Add rawcommit tests...
r444 echo this is a22 > a
Thomas Arendsen Hein
Use 'hg ci -d "1000000 0"' in tests to circumvent problem with leading zero....
r1933 hg rawcommit -p 3 -d "1000000 0" -m4 a
Matt Mackall
make manifest friendlier...
r3736 hg manifest --debug 4
Alexis S. L. Carvalho
rawcommit: add removed files to the changelog file list...
r3377 hg -v parents
mpm@selenic.com
Add rawcommit tests...
r444 echo this is c22 > c
Thomas Arendsen Hein
Use 'hg ci -d "1000000 0"' in tests to circumvent problem with leading zero....
r1933 hg rawcommit -p 1 -d "1000000 0" -m5 c
Matt Mackall
make manifest friendlier...
r3736 hg manifest --debug 5
Alexis S. L. Carvalho
rawcommit: add removed files to the changelog file list...
r3377 hg -v parents
mpm@selenic.com
Add rawcommit tests...
r444 # merge, but no files changed
Thomas Arendsen Hein
Use 'hg ci -d "1000000 0"' in tests to circumvent problem with leading zero....
r1933 hg rawcommit -p 4 -p 5 -d "1000000 0" -m6
Matt Mackall
make manifest friendlier...
r3736 hg manifest --debug 6
Alexis S. L. Carvalho
rawcommit: add removed files to the changelog file list...
r3377 hg -v parents
mpm@selenic.com
Add rawcommit tests...
r444 # no changes what-so-ever
Thomas Arendsen Hein
Use 'hg ci -d "1000000 0"' in tests to circumvent problem with leading zero....
r1933 hg rawcommit -p 6 -d "1000000 0" -m7
Matt Mackall
make manifest friendlier...
r3736 hg manifest --debug 7
Alexis S. L. Carvalho
rawcommit: add removed files to the changelog file list...
r3377 hg -v parents