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