##// END OF EJS Templates
merge with crew-stable
merge with crew-stable

File last commit:

r2982:890e285c default
r4181:ac9e891f merge default
Show More
test-revert-unknown
20 lines | 274 B | text/plain | TextLexer
/ tests / test-revert-unknown
mpm@selenic.com
Fix bug with co -C across branches, update tests
r1236 #!/bin/sh
hg init
touch unknown
touch a
hg add a
Thomas Arendsen Hein
Use 'hg ci -d "1000000 0"' in tests to circumvent problem with leading zero....
r1933 hg ci -m "1" -d "1000000 0"
mpm@selenic.com
Fix bug with co -C across branches, update tests
r1236
touch b
hg add b
Thomas Arendsen Hein
Use 'hg ci -d "1000000 0"' in tests to circumvent problem with leading zero....
r1933 hg ci -m "2" -d "1000000 0"
mpm@selenic.com
Fix bug with co -C across branches, update tests
r1236
echo %% Should show unknown
hg status
Vadim Gelfer
revert: require --all to revert all files.
r2982 hg revert -r 0 --all
mpm@selenic.com
Fix bug with co -C across branches, update tests
r1236 echo %% Should show unknown and b removed
hg status
echo %% Should show a and unknown
ls