equal
deleted
inserted
replaced
396 |
396 |
397 destrepo.ui.setconfig('paths', 'default', defaulturl) |
397 destrepo.ui.setconfig('paths', 'default', defaulturl) |
398 |
398 |
399 if update: |
399 if update: |
400 if update is not True: |
400 if update is not True: |
401 checkout = srcrepo.lookup(update) |
401 checkout = srcpeer.lookup(update) |
402 for test in (checkout, 'default', 'tip'): |
402 for test in (checkout, 'default', 'tip'): |
403 if test is None: |
403 if test is None: |
404 continue |
404 continue |
405 try: |
405 try: |
406 uprev = destrepo.lookup(test) |
406 uprev = destrepo.lookup(test) |