comparison tests/test-rebuildstate.t @ 12121:8f258dd4ed02

tests: unify test-rebuildstate
author Nicolas Dumazet <nicdumz.commits@gmail.com>
date Mon, 30 Aug 2010 18:47:02 +0900
parents tests/test-rebuildstate@ffeb926d57ce
children 9ab2b3b730ee
comparison
equal deleted inserted replaced
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