equal
deleted
inserted
replaced
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) |