diff mercurial/commands.py @ 48243:76c071bba40d

bookmarks: add support for `mirror` mode to `incoming` This is more consistent. Differential Revision: https://phab.mercurial-scm.org/D11676
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Fri, 15 Oct 2021 04:25:58 +0200
parents 7d1e60244561
children 4d59e0f909e0 a1538c05d855
line wrap: on
line diff
--- a/mercurial/commands.py	Fri Oct 15 03:49:05 2021 +0200
+++ b/mercurial/commands.py	Fri Oct 15 04:25:58 2021 +0200
@@ -4360,7 +4360,9 @@
                 ui.status(
                     _(b'comparing with %s\n') % urlutil.hidepassword(source)
                 )
-                return bookmarks.incoming(ui, repo, other)
+                return bookmarks.incoming(
+                    ui, repo, other, mode=path.bookmarks_mode
+                )
             finally:
                 other.close()