mercurial/commands.py
changeset 518 b0187336843c
parent 517 9b884be92af2
child 522 2f1de824798a
--- a/mercurial/commands.py
+++ b/mercurial/commands.py
@@ -269,7 +269,7 @@ def clone(ui, source, dest = None, **opt
     """make a copy of an existing repository"""
     source = ui.expandpath(source)
 
-    success = False
+    success = created = False
 
     if dest is None:
         dest = os.getcwd()