Show More
@@ -218,7 +218,11 b' def clone(ui, source, dest=None, pull=Fa' | |||
|
218 | 218 | dest_lock.release() |
|
219 | 219 | |
|
220 | 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 | 226 | if dir_cleanup: |
|
223 | 227 | dir_cleanup.close() |
|
224 | 228 |
General Comments 0
You need to be logged in to leave comments.
Login now