merge with crew
authorBenoit Boissinot <benoit.boissinot@ens-lyon.org>
Fri, 31 Aug 2007 23:15:44 +0200
changeset 5277 a32a8e50d233
parent 5276 694eb9ccb54d (current diff)
parent 5233 aea35488ea66 (diff)
child 5278 70e9a527cc61
merge with crew
mercurial/hg.py
--- a/mercurial/hg.py	Fri Aug 31 13:14:03 2007 +0200
+++ b/mercurial/hg.py	Fri Aug 31 23:15:44 2007 +0200
@@ -176,6 +176,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: