equal
deleted
inserted
replaced
216 |
216 |
217 if dest_lock: |
217 if dest_lock: |
218 dest_lock.release() |
218 dest_lock.release() |
219 |
219 |
220 if update: |
220 if update: |
221 _update(dest_repo, dest_repo.changelog.tip()) |
221 try: |
|
222 checkout = dest_repo.lookup("default") |
|
223 except: |
|
224 checkout = dest_repo.changelog.tip() |
|
225 _update(dest_repo, checkout) |
222 if dir_cleanup: |
226 if dir_cleanup: |
223 dir_cleanup.close() |
227 dir_cleanup.close() |
224 |
228 |
225 return src_repo, dest_repo |
229 return src_repo, dest_repo |
226 |
230 |