Fix failed clone in current directory
authormpm@selenic.com
Wed, 29 Jun 2005 10:49:07 -0800
changeset 518 b0187336843c
parent 517 9b884be92af2
child 519 50768efaf6f2
Fix failed clone in current directory -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Fix failed clone in current directory Spotted by Edouard Gomez. manifest hash: 83fd3bb8056c531f2d696f00c5bd6a61274783eb -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (GNU/Linux) iD8DBQFCwu0jywK+sNU5EO8RAqPiAJ9tCL5PhHoGMTbaQzpt5dl+EkCH9QCgh4WL EOFeD2th0Ucs7Npu3t+VUB0= =p/Ig -----END PGP SIGNATURE-----
mercurial/commands.py
--- a/mercurial/commands.py	Wed Jun 29 10:46:41 2005 -0800
+++ b/mercurial/commands.py	Wed Jun 29 10:49:07 2005 -0800
@@ -269,7 +269,7 @@
     """make a copy of an existing repository"""
     source = ui.expandpath(source)
 
-    success = False
+    success = created = False
 
     if dest is None:
         dest = os.getcwd()