Mercurial > hg
comparison mercurial/commands.py @ 29384:c75c8ea2f573
pull: add help information about pulling active bookmark
author | liscju <piotr.listkiewicz@gmail.com> |
---|---|
date | Mon, 20 Jun 2016 23:24:55 +0200 |
parents | 113d0b23321a |
children | 844f72885fb9 |
comparison
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) |