diff tests/test-commit @ 6935:03916abdfb64

Have verbose and debug flag print the changeset rev and hash when committing. Besides updating the tests output, I had to push back at the end the test for issue1193 in test-commit, solved by cset 4386a7706828, because it was using the current date for commit and was randomizing the subsequent hash.
author Gilles Moris <gilles.moris@free.fr>
date Fri, 22 Aug 2008 22:32:53 +0200
parents abb915d9d8db
children 4e0d54fbd34f
line wrap: on
line diff
--- a/tests/test-commit	Sun Aug 24 22:13:39 2008 +0200
+++ b/tests/test-commit	Fri Aug 22 22:32:53 2008 +0200
@@ -7,10 +7,6 @@
 hg add foo
 HGEDITOR=true hg commit -m ""
 hg commit -d '0 0' -m commit-1
-# An empty date was interpreted as epoch origin
-echo foo >> foo
-hg commit -d '' -m commit-no-date
-hg tip --template '{date|isodate}\n' | grep '1970'
 echo foo >> foo
 hg commit -d '1 4444444' -m commit-3
 hg commit -d '1	15.1' -m commit-4
@@ -52,6 +48,10 @@
 hg commit -d '0 0' -m commit-16 quux
 echo >> dir/file
 hg -v commit -d '0 0' -m commit-17 dir/file
+# An empty date was interpreted as epoch origin
+echo foo >> foo
+hg commit -d '' -m commit-no-date
+hg tip --template '{date|isodate}\n' | grep '1970'
 cd ..
 
 echo % partial subdir commit test