mercurial/commands.py
changeset 29384 c75c8ea2f573
parent 29376 113d0b23321a
child 29397 844f72885fb9
equal deleted inserted replaced
29383:f3dca85bd2d1 29384:c75c8ea2f573
  5782     -r X` where ``X`` is the last changeset listed by :hg:`incoming`.
  5782     -r X` where ``X`` is the last changeset listed by :hg:`incoming`.
  5783 
  5783 
  5784     If SOURCE is omitted, the 'default' path will be used.
  5784     If SOURCE is omitted, the 'default' path will be used.
  5785     See :hg:`help urls` for more information.
  5785     See :hg:`help urls` for more information.
  5786 
  5786 
       
  5787     Specifying bookmark as ``.`` is equivalent to specifying the active
       
  5788     bookmark's name.
       
  5789 
  5787     Returns 0 on success, 1 if an update had unresolved files.
  5790     Returns 0 on success, 1 if an update had unresolved files.
  5788     """
  5791     """
  5789     source, branches = hg.parseurl(ui.expandpath(source), opts.get('branch'))
  5792     source, branches = hg.parseurl(ui.expandpath(source), opts.get('branch'))
  5790     ui.status(_('pulling from %s\n') % util.hidepassword(source))
  5793     ui.status(_('pulling from %s\n') % util.hidepassword(source))
  5791     other = hg.peer(repo, opts, source)
  5794     other = hg.peer(repo, opts, source)