Mercurial > hg
diff tests/test-glog @ 8397:613ac2856535
remove deprecated rawcommit
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Thu, 14 May 2009 13:20:40 -0500 |
parents | 6486fb03be7c |
children | d12e9b40e444 |
line wrap: on
line diff
--- a/tests/test-glog Thu May 14 13:20:40 2009 -0500 +++ b/tests/test-glog Thu May 14 13:20:40 2009 -0500 @@ -82,9 +82,8 @@ if [ "$#" -gt 0 ]; then hg debugsetparents "$@" fi - echo $rev > $rev - hg add $rev - hg rawcommit -q -d "$rev 0" -m "($rev) $msg" $rev + echo $rev > a + hg commit -Aqd "$rev 0" -m "($rev) $msg" } echo "[extensions]" >> $HGRCPATH @@ -142,7 +141,7 @@ hg glog echo % file glog -hg glog 5 +hg glog a echo % unused arguments hg glog -q foo bar || echo failed @@ -150,7 +149,7 @@ echo % from outer space cd .. hg glog -l1 repo -hg glog -l1 repo/0 +hg glog -l1 repo/a hg glog -l1 repo/missing echo % file log with revs != cset revs