Mercurial > public > mercurial-scm > hg-stable
comparison mercurial/commands.py @ 48255: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 | a1538c05d855 4d59e0f909e0 |
comparison
equal
deleted
inserted
replaced
48254:4d2ab365699e | 48255:76c071bba40d |
---|---|
4358 return 0 | 4358 return 0 |
4359 ui.pager(b'incoming') | 4359 ui.pager(b'incoming') |
4360 ui.status( | 4360 ui.status( |
4361 _(b'comparing with %s\n') % urlutil.hidepassword(source) | 4361 _(b'comparing with %s\n') % urlutil.hidepassword(source) |
4362 ) | 4362 ) |
4363 return bookmarks.incoming(ui, repo, other) | 4363 return bookmarks.incoming( |
4364 ui, repo, other, mode=path.bookmarks_mode | |
4365 ) | |
4364 finally: | 4366 finally: |
4365 other.close() | 4367 other.close() |
4366 | 4368 |
4367 return hg.incoming(ui, repo, source, opts) | 4369 return hg.incoming(ui, repo, source, opts) |
4368 | 4370 |