mercurial/commands.py
changeset 13646 31eac42d9123
parent 13644 7e6c2f58ad56
child 13663 d16c99f16f00
equal deleted inserted replaced
13645:3786b810ea75 13646:31eac42d9123
  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)