Comments
Patch
@@ -4911,9 +4911,10 @@ def pull(ui, repo, source="default", **o
See :hg:`help urls` for more information.
Returns 0 on success, 1 if an update had unresolved files.
"""
- source, branches = hg.parseurl(ui.expandpath(source), opts.get('branch'))
+ source, branches = hg.parseurl(ui.expandpath(source, intent='pull'),
+ opts.get('branch'))
other = hg.peer(repo, opts, source)
try:
ui.status(_('pulling from %s\n') % util.hidepassword(source))
revs, checkout = hg.addbranchrevs(repo, other, branches,