comparison tests/test-ssh.t @ 13604:3f6a4579f803

hg: add support for cloning bookmarks
author David Soria Parra <dsp@php.net>
date Sun, 13 Mar 2011 12:24:17 +0100
parents 07a6460f829a
children 4f5ed2bd1724
comparison
equal deleted inserted replaced
13603:395a84f78736 13604:3f6a4579f803
261 user: test 261 user: test
262 date: Thu Jan 01 00:00:00 1970 +0000 262 date: Thu Jan 01 00:00:00 1970 +0000
263 summary: z 263 summary: z
264 264
265 265
266 clone bookmarks
267
268 $ hg -R ../remote bookmark test
269 $ hg -R ../remote bookmarks
270 * test 2:6c0482d977a3
271 $ hg clone -e "python ../dummyssh" ssh://user@dummy/remote local-bookmarks
272 requesting all changes
273 adding changesets
274 adding manifests
275 adding file changes
276 added 4 changesets with 5 changes to 4 files (+1 heads)
277 updating to branch default
278 3 files updated, 0 files merged, 0 files removed, 0 files unresolved
279 $ hg -R local-bookmarks bookmarks
280 test 2:6c0482d977a3
281
266 passwords in ssh urls are not supported 282 passwords in ssh urls are not supported
267 283
268 $ hg push ssh://user:erroneouspwd@dummy/remote 284 $ hg push ssh://user:erroneouspwd@dummy/remote
269 abort: password in URL not supported! 285 abort: password in URL not supported!
270 [255] 286 [255]
287 Got arguments 1:user@dummy 2:hg -R remote serve --stdio 303 Got arguments 1:user@dummy 2:hg -R remote serve --stdio
288 Got arguments 1:user@dummy 2:hg -R remote serve --stdio 304 Got arguments 1:user@dummy 2:hg -R remote serve --stdio
289 Got arguments 1:user@dummy 2:hg -R remote serve --stdio 305 Got arguments 1:user@dummy 2:hg -R remote serve --stdio
290 Got arguments 1:user@dummy 2:hg -R remote serve --stdio 306 Got arguments 1:user@dummy 2:hg -R remote serve --stdio
291 Got arguments 1:user@dummy 2:hg -R remote serve --stdio 307 Got arguments 1:user@dummy 2:hg -R remote serve --stdio
308 Got arguments 1:user@dummy 2:hg -R remote serve --stdio