##// END OF EJS Templates
Duplicate cache when creating templater.
Duplicate cache when creating templater.

File last commit:

r1933:7544700f default
r1975:6e1a8ea5 default
Show More
test-revert
32 lines | 573 B | text/plain | TextLexer
Benoit Boissinot
revert added and removed files to their normal state before reverting...
r1447 #!/bin/sh
hg init
echo 123 > a
echo 123 > c
hg add a c
Thomas Arendsen Hein
Use 'hg ci -d "1000000 0"' in tests to circumvent problem with leading zero....
r1933 hg commit -m "first" -d "1000000 0" a c
Benoit Boissinot
revert added and removed files to their normal state before reverting...
r1447 echo 123 > b
Benoit Boissinot
fix handling of files of unsupported type in the walk code...
r1487 echo %% should show b unknown
Benoit Boissinot
revert added and removed files to their normal state before reverting...
r1447 hg status
echo 12 > c
Benoit Boissinot
fix handling of files of unsupported type in the walk code...
r1487 echo %% should show b unknown and c modified
Benoit Boissinot
revert added and removed files to their normal state before reverting...
r1447 hg status
hg add b
Benoit Boissinot
fix handling of files of unsupported type in the walk code...
r1487 echo %% should show b added and c modified
Benoit Boissinot
revert added and removed files to their normal state before reverting...
r1447 hg status
hg rm a
Benoit Boissinot
fix handling of files of unsupported type in the walk code...
r1487 echo %% should show a removed, b added and c modified
Benoit Boissinot
revert added and removed files to their normal state before reverting...
r1447 hg status
hg revert a
Benoit Boissinot
fix handling of files of unsupported type in the walk code...
r1487 echo %% should show b added and c modified
Benoit Boissinot
revert added and removed files to their normal state before reverting...
r1447 hg status
hg revert b
Benoit Boissinot
fix handling of files of unsupported type in the walk code...
r1487 echo %% should show b unknown and c modified
Benoit Boissinot
revert added and removed files to their normal state before reverting...
r1447 hg status
hg revert c
Benoit Boissinot
fix handling of files of unsupported type in the walk code...
r1487 echo %% should show b unknown
Benoit Boissinot
revert added and removed files to their normal state before reverting...
r1447 hg status
Benoit Boissinot
fix handling of files of unsupported type in the walk code...
r1487 echo %% should show a b and c
Benoit Boissinot
revert added and removed files to their normal state before reverting...
r1447 ls
true