Show More
@@ -269,7 +269,7 b' def clone(ui, source, dest = None, **opt' | |||
|
269 | 269 | """make a copy of an existing repository""" |
|
270 | 270 | source = ui.expandpath(source) |
|
271 | 271 | |
|
272 |
|
|
|
272 | success = False | |
|
273 | 273 | |
|
274 | 274 | if dest is None: |
|
275 | 275 | dest = os.getcwd() |
@@ -314,7 +314,7 b' def clone(ui, source, dest = None, **opt' | |||
|
314 | 314 | success = True |
|
315 | 315 | |
|
316 | 316 | finally: |
|
317 | if not success: | |
|
317 | if created and not success: | |
|
318 | 318 | import shutil |
|
319 | 319 | shutil.rmtree(dest, True) |
|
320 | 320 |
General Comments 0
You need to be logged in to leave comments.
Login now