equal
deleted
inserted
replaced
2975 err = _("other repository doesn't support revision lookup, " |
2975 err = _("other repository doesn't support revision lookup, " |
2976 "so a rev cannot be specified.") |
2976 "so a rev cannot be specified.") |
2977 raise util.Abort(err) |
2977 raise util.Abort(err) |
2978 |
2978 |
2979 modheads = repo.pull(other, heads=revs, force=opts.get('force')) |
2979 modheads = repo.pull(other, heads=revs, force=opts.get('force')) |
|
2980 bookmarks.updatefromremote(ui, repo, other) |
2980 if checkout: |
2981 if checkout: |
2981 checkout = str(repo.changelog.rev(other.lookup(checkout))) |
2982 checkout = str(repo.changelog.rev(other.lookup(checkout))) |
2982 repo._subtoppath = source |
2983 repo._subtoppath = source |
2983 try: |
2984 try: |
2984 ret = postincoming(ui, repo, modheads, opts.get('update'), checkout) |
2985 ret = postincoming(ui, repo, modheads, opts.get('update'), checkout) |