comparison tests/test-ssh.t @ 12504:f7dd8bffe18c

test-ssh: test absolute path that exists
author Brodie Rao <brodie@bitheap.org>
date Sun, 26 Sep 2010 14:35:52 -0500
parents d039c4285092
children e3247ceaca5e
comparison
equal deleted inserted replaced
12503:b4711585a455 12504:f7dd8bffe18c
139 user: test 139 user: test
140 date: Thu Jan 01 00:00:00 1970 +0000 140 date: Thu Jan 01 00:00:00 1970 +0000
141 summary: add 141 summary: add
142 142
143 143
144 find incoming on the remote side (using absolute path)
145
146 $ hg incoming -R ../remote -e "python ../dummyssh" "ssh://user@dummy/`pwd`"
147 comparing with ssh://user@dummy/*/test-ssh.t/local (glob)
148 searching for changes
149 changeset: 1:a28a9d1a809c
150 tag: tip
151 user: test
152 date: Thu Jan 01 00:00:00 1970 +0000
153 summary: add
154
155
144 push 156 push
145 157
146 $ hg push 158 $ hg push
147 pushing to ssh://user@dummy/remote 159 pushing to ssh://user@dummy/remote
148 searching for changes 160 searching for changes
212 Got arguments 1:user@dummy 2:hg -R remote serve --stdio 224 Got arguments 1:user@dummy 2:hg -R remote serve --stdio
213 Got arguments 1:user@dummy 2:hg -R remote serve --stdio 225 Got arguments 1:user@dummy 2:hg -R remote serve --stdio
214 Got arguments 1:user@dummy 2:hg -R remote serve --stdio 226 Got arguments 1:user@dummy 2:hg -R remote serve --stdio
215 Got arguments 1:user@dummy 2:hg -R remote serve --stdio 227 Got arguments 1:user@dummy 2:hg -R remote serve --stdio
216 Got arguments 1:user@dummy 2:hg -R local serve --stdio 228 Got arguments 1:user@dummy 2:hg -R local serve --stdio
229 Got arguments 1:user@dummy 2:hg -R /*/test-ssh.t/local serve --stdio (glob)
217 Got arguments 1:user@dummy 2:hg -R remote serve --stdio 230 Got arguments 1:user@dummy 2:hg -R remote serve --stdio
218 changegroup-in-remote hook: HG_NODE=a28a9d1a809cab7d4e2fde4bee738a9ede948b60 HG_SOURCE=serve HG_URL=remote:ssh:127.0.0.1 231 changegroup-in-remote hook: HG_NODE=a28a9d1a809cab7d4e2fde4bee738a9ede948b60 HG_SOURCE=serve HG_URL=remote:ssh:127.0.0.1
219 Got arguments 1:user@dummy 2:hg -R remote serve --stdio 232 Got arguments 1:user@dummy 2:hg -R remote serve --stdio
220 changegroup-in-remote hook: HG_NODE=1383141674ec756a6056f6a9097618482fe0f4a6 HG_SOURCE=serve HG_URL=remote:ssh:127.0.0.1 233 changegroup-in-remote hook: HG_NODE=1383141674ec756a6056f6a9097618482fe0f4a6 HG_SOURCE=serve HG_URL=remote:ssh:127.0.0.1