equal
deleted
inserted
replaced
2306 err = _("Other repository doesn't support revision lookup, " |
2306 err = _("Other repository doesn't support revision lookup, " |
2307 "so a rev cannot be specified.") |
2307 "so a rev cannot be specified.") |
2308 raise util.Abort(err) |
2308 raise util.Abort(err) |
2309 |
2309 |
2310 modheads = repo.pull(other, heads=revs, force=opts.get('force')) |
2310 modheads = repo.pull(other, heads=revs, force=opts.get('force')) |
|
2311 if checkout: |
|
2312 checkout = str(repo.changelog.rev(other.lookup(checkout))) |
2311 return postincoming(ui, repo, modheads, opts.get('update'), checkout) |
2313 return postincoming(ui, repo, modheads, opts.get('update'), checkout) |
2312 |
2314 |
2313 def push(ui, repo, dest=None, **opts): |
2315 def push(ui, repo, dest=None, **opts): |
2314 """push changes to the specified destination |
2316 """push changes to the specified destination |
2315 |
2317 |