##// END OF EJS Templates
test-gpg: replace 825565136235 by md5sum check...
test-gpg: replace 825565136235 by md5sum check The call to 'hg identify' would have needed '--cwd "$TESTDIR' to make it work anyway, but by using a checksum this test can work outside a repository.

File last commit:

r12156:4c94b6d0 default
r16349:425f1fbc stable
Show More
test-revert-unknown.t
29 lines | 319 B | text/troff | Tads3Lexer
/ tests / test-revert-unknown.t
$ hg init
$ touch unknown
$ touch a
$ hg add a
$ hg ci -m "1"
$ touch b
$ hg add b
$ hg ci -m "2"
Should show unknown
$ hg status
? unknown
$ hg revert -r 0 --all
removing b
Should show unknown and b removed
$ hg status
R b
? unknown
Should show a and unknown
$ ls
a
unknown