##// END OF EJS Templates
Mention 'hg update' to switch branches in help for branch and branches.
Mention 'hg update' to switch branches in help for branch and branches.

File last commit:

r2982:890e285c default
r5999:d1fe1a4e 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