mercurial/commands.py
changeset 512 78896f572a22
parent 509 98a2935c3d6c
child 513 2ab152e45de4
--- a/mercurial/commands.py
+++ b/mercurial/commands.py
@@ -315,7 +315,6 @@ def clone(ui, source, dest = None, **opt
         
     finally:
         if not success:
-            del repo
             import shutil
             shutil.rmtree(dest, True)