comparison 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
comparison
equal deleted inserted replaced
3091:41e5ecfb6c24 3092:25857e00af8e
78 cd ../remote 78 cd ../remote
79 79
80 echo "# check remote tip" 80 echo "# check remote tip"
81 hg tip 81 hg tip
82 hg verify 82 hg verify
83 hg cat foo 83 hg cat -r tip foo
84 84
85 echo z > z 85 echo z > z
86 hg ci -A -m z -d '1000001 0' z 86 hg ci -A -m z -d '1000001 0' z
87 87
88 cd ../local 88 cd ../local