comparison mercurial/configitems.py @ 42231:d345627d104b

repoview: introduce a `experimental.extra-filter-revs` config The option define revisions to additionally filter out of all repository "view". The end goal is to provide and easy to way to serve multiple subset of the same repository using multiple "shares". The simplest use case of this feature is to have one view serving the public changesets and one view also serving the draft. This is currently achievable using the new `server.view` option introduced recently by Joerg Sonnenberger. However, more advanced use cases need more advanced definitions. For example some needs a view dedicated to some release branches, or view that hides security fixes to be released. Joerg Sonnenberger and I discussed this topic at the recent mini-sprint and the both of us have seen real life use cases for this. (This series got written during the same mini-sprint). The feature is fully functional, and use similar cache-fallback mechanism to ensure decent performance. However,there remaining room to ensure each share caches and hooks collaborate with each others. This will come at a later time once users start to actually test this feature on real usecase.
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Sat, 06 Apr 2019 17:46:19 +0200
parents 0e41f40b01cc
children 0f01394457a0
comparison
equal deleted inserted replaced
42230:fdbeacb9d456 42231:d345627d104b
530 default=True, 530 default=True,
531 ) 531 )
532 coreconfigitem('experimental', 'evolution.track-operation', 532 coreconfigitem('experimental', 'evolution.track-operation',
533 default=True, 533 default=True,
534 ) 534 )
535 # repo-level config to exclude a revset visibility
536 #
537 # The target use case is to use `share` to expose different subset of the same
538 # repository, especially server side. See also `server.view`.
539 coreconfigitem('experimental', 'extra-filter-revs',
540 default=None,
541 )
535 coreconfigitem('experimental', 'maxdeltachainspan', 542 coreconfigitem('experimental', 'maxdeltachainspan',
536 default=-1, 543 default=-1,
537 ) 544 )
538 coreconfigitem('experimental', 'mergetempdirprefix', 545 coreconfigitem('experimental', 'mergetempdirprefix',
539 default=None, 546 default=None,