diff tests/test-ssh @ 3095:25857e00af8e

cat: default to working dir parent instead of tip This introduces a defaultrev function that chooses the working dir parent if a revision isn't specified, and uses it in several places.
author Brendan Cully <brendan@kublai.com>
date Thu, 14 Sep 2006 19:24:00 -0700
parents fa4229c60dd7
children 7ae37d99d47e
line wrap: on
line diff
--- a/tests/test-ssh	Fri Sep 15 00:51:27 2006 +0200
+++ b/tests/test-ssh	Thu Sep 14 19:24:00 2006 -0700
@@ -80,7 +80,7 @@
 echo "# check remote tip"
 hg tip
 hg verify
-hg cat foo
+hg cat -r tip foo
 
 echo z > z
 hg ci -A -m z -d '1000001 0' z