branch | stable |
changeset 12795 | 3cb0559e44d0 |
parent 12793 | 469850088fc1 |
parent 12794 | 6bf8d48bec8e |
child 12796 | bc69ba99e34b |
12793:469850088fc1 | 12795:3cb0559e44d0 |
---|---|
1 #!/bin/sh |
|
2 |
|
3 hg init |
|
4 touch unknown |
|
5 |
|
6 touch a |
|
7 hg add a |
|
8 hg ci -m "1" -d "1000000 0" |
|
9 |
|
10 touch b |
|
11 hg add b |
|
12 hg ci -m "2" -d "1000000 0" |
|
13 |
|
14 echo %% Should show unknown |
|
15 hg status |
|
16 hg revert -r 0 --all |
|
17 echo %% Should show unknown and b removed |
|
18 hg status |
|
19 echo %% Should show a and unknown |
|
20 ls |