equal
deleted
inserted
replaced
4755 other = hg.peer(repo, opts, dest) |
4755 other = hg.peer(repo, opts, dest) |
4756 if 'bookmarks' not in other.listkeys('namespaces'): |
4756 if 'bookmarks' not in other.listkeys('namespaces'): |
4757 ui.warn(_("remote doesn't support bookmarks\n")) |
4757 ui.warn(_("remote doesn't support bookmarks\n")) |
4758 return 0 |
4758 return 0 |
4759 ui.status(_('comparing with %s\n') % util.hidepassword(dest)) |
4759 ui.status(_('comparing with %s\n') % util.hidepassword(dest)) |
4760 return bookmarks.diff(ui, other, repo) |
4760 return bookmarks.outgoing(ui, repo, other) |
4761 |
4761 |
4762 repo._subtoppath = ui.expandpath(dest or 'default-push', dest or 'default') |
4762 repo._subtoppath = ui.expandpath(dest or 'default-push', dest or 'default') |
4763 try: |
4763 try: |
4764 return hg.outgoing(ui, repo, dest, opts) |
4764 return hg.outgoing(ui, repo, dest, opts) |
4765 finally: |
4765 finally: |