test-revert-unknown.t
29 lines
| 319 B
| text/troff
|
Tads3Lexer
/ tests / test-revert-unknown.t
Nicolas Dumazet
|
r12111 | $ hg init | ||
$ touch unknown | ||||
$ touch a | ||||
$ hg add a | ||||
Martin Geisler
|
r12156 | $ hg ci -m "1" | ||
Nicolas Dumazet
|
r12111 | |||
$ touch b | ||||
$ hg add b | ||||
Martin Geisler
|
r12156 | $ hg ci -m "2" | ||
Nicolas Dumazet
|
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 | ||||
$ ls | ||||
a | ||||
unknown | ||||