equal
deleted
inserted
replaced
4501 brev = branches[0] |
4501 brev = branches[0] |
4502 repo._subtoppath = source |
4502 repo._subtoppath = source |
4503 try: |
4503 try: |
4504 ret = postincoming(ui, repo, modheads, opts.get('update'), |
4504 ret = postincoming(ui, repo, modheads, opts.get('update'), |
4505 checkout, brev) |
4505 checkout, brev) |
4506 |
4506 except error.FilteredRepoLookupError as exc: |
|
4507 msg = _('cannot update to target: %s') % exc.args[0] |
|
4508 exc.args = (msg,) + exc.args[1:] |
|
4509 raise |
4507 finally: |
4510 finally: |
4508 del repo._subtoppath |
4511 del repo._subtoppath |
4509 |
4512 |
4510 finally: |
4513 finally: |
4511 other.close() |
4514 other.close() |