diff tests/test-ssh @ 3092: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
+++ b/tests/test-ssh
@@ -80,7 +80,7 @@ cd ../remote
 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