# HG changeset patch # User Benoit Boissinot # Date 1188594944 -7200 # Node ID a32a8e50d233556d76e12890079af0bf5e07fa23 # Parent 694eb9ccb54d9f9c2e63a65368df0fdc9843f98f# Parent aea35488ea66d08bd6a33abc0c0336266ab82b28 merge with crew diff --git a/mercurial/hg.py b/mercurial/hg.py --- a/mercurial/hg.py +++ b/mercurial/hg.py @@ -176,6 +176,10 @@ def clone(ui, source, dest=None, pull=Fa dest_path = os.path.realpath(os.path.join(dest, ".hg")) os.mkdir(dest_path) if src_repo.spath != src_repo.path: + # XXX racy + dummy_changelog = os.path.join(dest_path, "00changelog.i") + # copy the dummy changelog + force_copy(src_repo.join("00changelog.i"), dummy_changelog) dest_store = os.path.join(dest_path, "store") os.mkdir(dest_store) else: