Mercurial > hg-stable
changeset 5232:d3874a286b51
fix the dummy 00changelog.i not being copied on clone
author | Benoit Boissinot <benoit.boissinot@ens-lyon.org> |
---|---|
date | Fri, 31 Aug 2007 22:31:03 +0200 |
parents | 74723744d8e0 |
children | aea35488ea66 |
files | mercurial/hg.py |
diffstat | 1 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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: