changeset 12121 | 8f258dd4ed02 |
parent 6344 | ffeb926d57ce |
child 15440 | 9ab2b3b730ee |
12120:aeef24027906 | 12121:8f258dd4ed02 |
---|---|
1 basic test for hg debugrebuildstate |
|
2 |
|
3 $ hg init repo |
|
4 $ cd repo |
|
5 |
|
6 $ touch foo bar |
|
7 $ hg ci -Am 'add foo bar' |
|
8 adding bar |
|
9 adding foo |
|
10 |
|
11 $ touch baz |
|
12 $ hg add baz |
|
13 $ hg rm bar |
|
14 |
|
15 $ hg debugrebuildstate |
|
16 |
|
17 state dump after |
|
18 |
|
19 $ hg debugstate --nodates | sort |
|
20 n 666 -1 bar |
|
21 n 666 -1 foo |
|
22 |
|
23 status |
|
24 |
|
25 $ hg st -A |
|
26 ! bar |
|
27 ? baz |
|
28 C foo |
|
29 |