test-revert-unknown.t
31 lines
| 345 B
| text/troff
|
Tads3Lexer
/ tests / test-revert-unknown.t
Arseniy Alekseyev
|
r50516 | $ hg init repo | ||
$ cd repo | ||||
Nicolas Dumazet
|
r12111 | $ 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 | ||||
Joerg Sonnenberger
|
r45218 | $ ls -A | ||
.hg | ||||
Nicolas Dumazet
|
r12111 | a | ||
unknown | ||||