view tests/test-clone-failure.out @ 738:32a97c9d8e98

If the argument to make_file can act like a file, return it. This is useful for code that calls command functions, but doesn't want to send I/O through the filesystem.
author Bryan O'Sullivan <bos@serpentine.com>
date Wed, 20 Jul 2005 03:55:16 -0800
parents 5d6177b72fcc
children 122449dd89db 445970ccf57a
line wrap: on
line source

+ hg clone a b
abort: repository a/.hg not found!
+ echo 255
255
+ hg clone http://127.0.0.1:3121/a b
requesting all changes
abort: error 111: Connection refused
+ echo 255
255
+ rm -rf b
+ mkdir a
+ chmod 000 a
+ hg clone a b
abort: repository a/.hg not found!
+ echo 255
255
+ mkdir b
+ cd b
+ hg init
+ hg clone . ../a
abort: destination '../a' already exists
+ echo 1
1
+ cd ..
+ chmod 700 a
+ rm -rf a b
+ mkfifo a
+ hg clone a b
abort: repository a/.hg not found!
+ echo 255
255
+ rm a
+ mkdir q
+ cd q
+ hg init
+ cd ..
+ hg clone q
abort: destination 'q' already exists
+ true