# HG changeset patch # User mpm@selenic.com # Date 2005-06-29 18:49:07 # Node ID b0187336843c68f25708f5e3800eb6b140ab1795 # Parent 9b884be92af2b18ebec7cfe821b07a26ad40d260 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----- diff --git a/mercurial/commands.py b/mercurial/commands.py --- 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()