# HG changeset patch # User Benoit Boissinot # Date 1188592263 -7200 # Node ID d3874a286b51b9f0b830662b32db82479c612857 # Parent 74723744d8e0c664c90c0ac4f6392c63aabe2b6e fix the dummy 00changelog.i not being copied on clone diff -r 74723744d8e0 -r d3874a286b51 mercurial/hg.py --- a/mercurial/hg.py Fri Aug 24 00:56:08 2007 +0200 +++ b/mercurial/hg.py Fri Aug 31 22:31:03 2007 +0200 @@ -169,6 +169,10 @@ 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: