comparison mercurial/utils/urlutil.py @ 48244:b56858d85a7b

bookmarks: add a `ignore` variant of the bookmark mode This new mode allow to disable bookmark exchange with some path (or all path). Differential Revision: https://phab.mercurial-scm.org/D11677
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Fri, 15 Oct 2021 04:41:24 +0200
parents 4d2ab365699e
children a1538c05d855
comparison
equal deleted inserted replaced
48243:76c071bba40d 48244:b56858d85a7b
767 767
768 768
769 SUPPORTED_BOOKMARKS_MODES = { 769 SUPPORTED_BOOKMARKS_MODES = {
770 b'default', 770 b'default',
771 b'mirror', 771 b'mirror',
772 b'ignore',
772 } 773 }
773 774
774 775
775 @pathsuboption(b'bookmarks.mode', b'bookmarks_mode') 776 @pathsuboption(b'bookmarks.mode', b'bookmarks_mode')
776 def bookmarks_mode_option(ui, path, value): 777 def bookmarks_mode_option(ui, path, value):