Mercurial > hg > mercurial-crew-with-dirclash
comparison tests/test-revert-unknown @ 1236:67a28636ea64
Fix bug with co -C across branches, update tests
author | mpm@selenic.com |
---|---|
date | Tue, 13 Sep 2005 18:38:27 -0500 |
parents | |
children | 7544700fd931 |
comparison
equal
deleted
inserted
replaced
1235:5c0bd13bd771 | 1236:67a28636ea64 |
---|---|
1 #!/bin/sh | |
2 | |
3 hg init | |
4 touch unknown | |
5 | |
6 touch a | |
7 hg add a | |
8 hg ci -m "1" -d "0 0" | |
9 | |
10 touch b | |
11 hg add b | |
12 hg ci -m "2" -d "0 0" | |
13 | |
14 echo %% Should show unknown | |
15 hg status | |
16 hg revert -r 0 | |
17 echo %% Should show unknown and b removed | |
18 hg status | |
19 echo %% Should show a and unknown | |
20 ls |