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.
#!/bin/sh
"$TESTDIR/hghave" execbit || exit 80
hg init repo
cd repo
echo foo > foo
chmod 644 foo
hg ci -qAm '644'
chmod 755 foo
hg ci -qAm '755'
echo '% reverting to rev 0'
hg revert -a -r 0
hg st
hg diff --git