##// END OF EJS Templates
test-glog: pass the list of files to commit...
test-glog: pass the list of files to commit test-glog uses debugsetparents instead of update+merge to create some funky DAGs, and so the dirstate contents won't be consistent with the checked out revision. Passing an explicit list of files to commit reduces a bit the dependency on the dirstate. Using a non-deprecated rawcommit might be better here.

File last commit:

r5858:e7ed5d07 default
r6156:ba079006 default
Show More
test-rebuildstate
24 lines | 333 B | text/plain | TextLexer
#!/bin/sh
# basic test for hg debugrebuildstate
hg init repo
cd repo
touch foo bar
hg ci -Am 'add foo bar'
touch baz
hg add baz
hg rm bar
echo '% state dump'
hg debugstate | cut -b 1-16,37- | sort
echo '% status'
hg st -A
hg debugrebuildstate
echo '% state dump'
hg debugstate | cut -b 1-16,37- | sort
echo '% status'
hg st -A