Mercurial > hg
changeset 6344:ffeb926d57ce
tests: make test-rebuildstate repeatable
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Fri, 21 Mar 2008 15:57:22 -0500 |
parents | 1f9be57a6d6a |
children | 351da911f739 |
files | tests/test-rebuildstate tests/test-rebuildstate.out |
diffstat | 2 files changed, 3 insertions(+), 16 deletions(-) [+] |
line wrap: on
line diff
--- a/tests/test-rebuildstate Fri Mar 21 15:57:22 2008 -0500 +++ b/tests/test-rebuildstate Fri Mar 21 15:57:22 2008 -0500 @@ -11,14 +11,9 @@ hg add baz hg rm bar -echo '% state dump' +hg debugrebuildstate +echo '% state dump after' hg debugstate --nodates | sort echo '% status' hg st -A -hg debugrebuildstate -echo '% state dump' -hg debugstate --nodates | sort -echo '% status' -hg st -A -
--- a/tests/test-rebuildstate.out Fri Mar 21 15:57:22 2008 -0500 +++ b/tests/test-rebuildstate.out Fri Mar 21 15:57:22 2008 -0500 @@ -1,14 +1,6 @@ adding bar adding foo -% state dump -a 0 -1 baz -n 0 -1 foo -r 0 0 bar -% status -A baz -R bar -C foo -% state dump +% state dump after n 666 -1 bar n 666 -1 foo % status