Mercurial > hg
comparison tests/test-rebuildstate @ 6042:2da5b19a6460
Merge with crew
author | Bryan O'Sullivan <bos@serpentine.com> |
---|---|
date | Wed, 06 Feb 2008 19:57:52 -0800 |
parents | e7ed5d07cc4c |
children | a9e6b8875805 |
comparison
equal
deleted
inserted
replaced
6041:dd714452c26e | 6042:2da5b19a6460 |
---|---|
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,37- | sort | |
16 echo '% status' | |
17 hg st -A | |
18 | |
19 hg debugrebuildstate | |
20 echo '% state dump' | |
21 hg debugstate | cut -b 1-16,37- | sort | |
22 echo '% status' | |
23 hg st -A | |
24 |