Show More
@@ -582,10 +582,11 b' def clone(ui, peeropts, source, dest=Non' | |||||
582 | try: |
|
582 | try: | |
583 | uprev = destrepo.lookup(checkout) |
|
583 | uprev = destrepo.lookup(checkout) | |
584 | except error.RepoLookupError: |
|
584 | except error.RepoLookupError: | |
585 |
|
|
585 | if update is not True: | |
586 |
|
|
586 | try: | |
587 |
|
|
587 | uprev = destrepo.lookup(update) | |
588 |
|
|
588 | except error.RepoLookupError: | |
|
589 | pass | |||
589 | if uprev is None: |
|
590 | if uprev is None: | |
590 | try: |
|
591 | try: | |
591 | uprev = destrepo._bookmarks['@'] |
|
592 | uprev = destrepo._bookmarks['@'] |
General Comments 0
You need to be logged in to leave comments.
Login now