changeset 5276:aea35488ea66

merge with crew-stable
author Benoit Boissinot <benoit.boissinot@ens-lyon.org>
date Fri, 31 Aug 2007 22:31:43 +0200
parents d3874a286b51 (diff) 5c2ca6d6ab21 (current diff)
children a32a8e50d233 ed6df6b1c29a b62a59fa9d26
files mercurial/hg.py tests/test-changelog-exec tests/test-convert-git tests/test-pull-r tests/test-url-rev
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/hg.py
+++ b/mercurial/hg.py
@@ -169,6 +169,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: