changeset 5080 | b304c2496f52 |
5079:ccdc8db02bdf | 5080:b304c2496f52 |
---|---|
1 #!/bin/sh |
|
2 # basic test for hg debugrebuildstate |
|
3 |
|
4 hg init repo |
|
5 cd repo |
|
6 |
|
7 touch foo bar |
|
8 hg ci -Am 'add foo bar' |
|
9 |
|
10 touch baz |
|
11 hg add baz |
|
12 hg rm bar |
|
13 |
|
14 echo '% state dump' |
|
15 hg debugstate | cut -b 1-16,35- | sort |
|
16 echo '% status' |
|
17 hg st -A |
|
18 |
|
19 hg debugrebuildstate |
|
20 echo '% state dump' |
|
21 hg debugstate | cut -b 1-16,35- | sort |
|
22 echo '% status' |
|
23 hg st -A |
|
24 |