##// END OF EJS Templates
on clone failure, only remove directories we created...
on clone failure, only remove directories we created If the user created the clone target directory before running the clone command, only cleanup the .hg/ repository when errors occur. Leave the empty target directory in place.

File last commit:

r7935:39566bb9 default
r7935:39566bb9 default
Show More
test-clone-failure.out
18 lines | 322 B | text/plain | TextLexer
/ tests / test-clone-failure.out
Thomas Arendsen Hein
Better error message (without /.hg appended) when repository is not found....
r1588 abort: repository a not found!
mpm@selenic.com
[PATCH] Tests for clone command...
r550 255
mpm@selenic.com
Fix up test results...
r775 abort: error: Connection refused
mpm@selenic.com
[PATCH] Tests for clone command...
r550 255
Thomas Arendsen Hein
Better error message (without /.hg appended) when repository is not found....
r1588 abort: repository a not found!
mpm@selenic.com
[PATCH] Tests for clone command...
r550 255
Steve Borho
allow clone into existing but empty directories
r7927 abort: Permission denied: ../a
Thomas Arendsen Hein
Never exit directly from commands.dispatch(), but pass return code to caller....
r2057 255
Thomas Arendsen Hein
Better error message (without /.hg appended) when repository is not found....
r1588 abort: repository a not found!
mpm@selenic.com
[PATCH] Tests for clone command...
r550 255
Thomas Arendsen Hein
Show the destionation for clone if not specified manually.
r3841 destination directory: q
Steve Borho
allow clone into existing but empty directories
r7927 abort: destination 'q' is not empty
abort: destination 'a' is not empty
255
Steve Borho
on clone failure, only remove directories we created...
r7935 adding c
255
dir is still here
repo is gone