# HG changeset patch # User Benoit Boissinot # Date 2006-07-17 22:32:18 # Node ID 8f564a875b5005d1e317c160970b6adb6a5eb203 # Parent 837119f1bf4dad03cc30479b7c90b74103b4d04a codingstyle: use spaces instead of tabs diff --git a/mercurial/hg.py b/mercurial/hg.py --- a/mercurial/hg.py +++ b/mercurial/hg.py @@ -157,9 +157,9 @@ def clone(ui, source, dest=None, pull=Fa # we lock here to avoid premature writing to the target dest_lock = lock.lock(os.path.join(dest_path, ".hg", "lock")) - # we need to remove the (empty) data dir in dest so copyfiles - # can do its work - os.rmdir(os.path.join(dest_path, ".hg", "data")) + # we need to remove the (empty) data dir in dest so copyfiles + # can do its work + os.rmdir(os.path.join(dest_path, ".hg", "data")) files = "data 00manifest.d 00manifest.i 00changelog.d 00changelog.i" for f in files.split(): src = os.path.join(source, ".hg", f) @@ -170,8 +170,8 @@ def clone(ui, source, dest=None, pull=Fa if inst.errno != errno.ENOENT: raise - # we need to re-init the repo after manually copying the data - # into it + # we need to re-init the repo after manually copying the data + # into it dest_repo = repository(ui, dest) else: