##// END OF EJS Templates
tests: fix the detection of dirstate-v2 in hghave.py
tests: fix the detection of dirstate-v2 in hghave.py

File last commit:

r45218:5c2a4f37 default
r50515:8cd39c20 stable
Show More
test-revert-unknown.t
30 lines | 328 B | text/troff | Tads3Lexer
/ tests / test-revert-unknown.t
Nicolas Dumazet
tests: unify test-revert-unknown
r12111 $ hg init
$ touch unknown
$ touch a
$ hg add a
Martin Geisler
tests: remove unneeded -d flags...
r12156 $ hg ci -m "1"
Nicolas Dumazet
tests: unify test-revert-unknown
r12111
$ touch b
$ hg add b
Martin Geisler
tests: remove unneeded -d flags...
r12156 $ hg ci -m "2"
Nicolas Dumazet
tests: unify test-revert-unknown
r12111
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
Joerg Sonnenberger
tests: deal with "ls" vs "ls -A" difference on 2BSD derived systems...
r45218 $ ls -A
.hg
Nicolas Dumazet
tests: unify test-revert-unknown
r12111 a
unknown