Show More
@@ -3643,6 +3643,7 b' def outgoing(ui, repo, dest=None, **opts' | |||||
3643 | """ |
|
3643 | """ | |
3644 | if opts.get('graph'): |
|
3644 | if opts.get('graph'): | |
3645 | cmdutil.checkunsupportedgraphflags([], opts) |
|
3645 | cmdutil.checkunsupportedgraphflags([], opts) | |
|
3646 | ui.pager('outgoing') | |||
3646 | o, other = hg._outgoing(ui, repo, dest, opts) |
|
3647 | o, other = hg._outgoing(ui, repo, dest, opts) | |
3647 | if not o: |
|
3648 | if not o: | |
3648 | cmdutil.outgoinghooks(ui, repo, other, opts, o) |
|
3649 | cmdutil.outgoinghooks(ui, repo, other, opts, o) | |
@@ -3661,11 +3662,13 b' def outgoing(ui, repo, dest=None, **opts' | |||||
3661 | if 'bookmarks' not in other.listkeys('namespaces'): |
|
3662 | if 'bookmarks' not in other.listkeys('namespaces'): | |
3662 | ui.warn(_("remote doesn't support bookmarks\n")) |
|
3663 | ui.warn(_("remote doesn't support bookmarks\n")) | |
3663 | return 0 |
|
3664 | return 0 | |
|
3665 | ui.pager('outgoing') | |||
3664 | ui.status(_('comparing with %s\n') % util.hidepassword(dest)) |
|
3666 | ui.status(_('comparing with %s\n') % util.hidepassword(dest)) | |
3665 | return bookmarks.outgoing(ui, repo, other) |
|
3667 | return bookmarks.outgoing(ui, repo, other) | |
3666 |
|
3668 | |||
3667 | repo._subtoppath = ui.expandpath(dest or 'default-push', dest or 'default') |
|
3669 | repo._subtoppath = ui.expandpath(dest or 'default-push', dest or 'default') | |
3668 | try: |
|
3670 | try: | |
|
3671 | ui.pager('outgoing') | |||
3669 | return hg.outgoing(ui, repo, dest, opts) |
|
3672 | return hg.outgoing(ui, repo, dest, opts) | |
3670 | finally: |
|
3673 | finally: | |
3671 | del repo._subtoppath |
|
3674 | del repo._subtoppath |
General Comments 0
You need to be logged in to leave comments.
Login now