equal
deleted
inserted
replaced
167 if not os.path.exists(dest): |
167 if not os.path.exists(dest): |
168 os.mkdir(dest) |
168 os.mkdir(dest) |
169 dest_path = os.path.realpath(os.path.join(dest, ".hg")) |
169 dest_path = os.path.realpath(os.path.join(dest, ".hg")) |
170 os.mkdir(dest_path) |
170 os.mkdir(dest_path) |
171 if src_repo.spath != src_repo.path: |
171 if src_repo.spath != src_repo.path: |
|
172 # XXX racy |
|
173 dummy_changelog = os.path.join(dest_path, "00changelog.i") |
|
174 # copy the dummy changelog |
|
175 force_copy(src_repo.join("00changelog.i"), dummy_changelog) |
172 dest_store = os.path.join(dest_path, "store") |
176 dest_store = os.path.join(dest_path, "store") |
173 os.mkdir(dest_store) |
177 os.mkdir(dest_store) |
174 else: |
178 else: |
175 dest_store = dest_path |
179 dest_store = dest_path |
176 # copy the requires file |
180 # copy the requires file |