Comments
Patch
@@ -4657,18 +4657,20 @@ def outgoing(ui, repo, dest=None, **opts
cmdutil.outgoinghooks(ui, repo, other, opts, o)
return 0
if opts.get('bookmarks'):
- dest = ui.expandpath(dest or 'default-push', dest or 'default')
+ dest = ui.expandpath(dest or 'default-push', dest or 'default',
+ intent='outgoing')
dest, branches = hg.parseurl(dest, opts.get('branch'))
other = hg.peer(repo, opts, dest)
if 'bookmarks' not in other.listkeys('namespaces'):
ui.warn(_("remote doesn't support bookmarks\n"))
return 0
ui.status(_('comparing with %s\n') % util.hidepassword(dest))
return bookmarks.diff(ui, other, repo)
- repo._subtoppath = ui.expandpath(dest or 'default-push', dest or 'default')
+ repo._subtoppath = ui.expandpath(dest or 'default-push', dest or 'default',
+ intent='outgoing')
try:
return hg.outgoing(ui, repo, dest, opts)
finally:
del repo._subtoppath