Mercurial > public > mercurial-scm > hg
diff mercurial/commands.py @ 24397:d0ea2028e8e6
bookmarks: add incoming() to replace diff() for incoming bookmarks
This replacement makes enhancement of "show incoming bookmarks" easy,
because "compare()" can detect more detailed difference of bookmarks
between two repositories.
author | FUJIWARA Katsunori <foozy@lares.dti.ne.jp> |
---|---|
date | Thu, 19 Mar 2015 23:36:05 +0900 |
parents | 72d7d390ef5d |
children | c0096a2bd3ff |
line wrap: on
line diff
--- a/mercurial/commands.py Wed Mar 18 15:59:45 2015 -0700 +++ b/mercurial/commands.py Thu Mar 19 23:36:05 2015 +0900 @@ -4302,7 +4302,7 @@ ui.warn(_("remote doesn't support bookmarks\n")) return 0 ui.status(_('comparing with %s\n') % util.hidepassword(source)) - return bookmarks.diff(ui, repo, other) + return bookmarks.incoming(ui, repo, other) repo._subtoppath = ui.expandpath(source) try: