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