test-glog: pass the list of files to commit
authorAlexis S. L. Carvalho <alexis@cecm.usp.br>
Thu, 21 Feb 2008 16:22:31 -0300
changeset 6156 ba0790061ba7
parent 6155 ea161d648117
child 6157 09b00faa8670
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.
tests/test-glog
--- a/tests/test-glog	Thu Feb 21 15:56:35 2008 +0100
+++ b/tests/test-glog	Thu Feb 21 16:22:31 2008 -0300
@@ -82,7 +82,7 @@
     fi
     echo $rev > $rev
     hg add $rev
-    hg ci -d "$rev 0" -m "($rev) $msg"
+    hg ci -d "$rev 0" -m "($rev) $msg" $rev
 }
 
 echo "[extensions]" >> $HGRCPATH