##// END OF EJS Templates
repoview: add a 'devel.debug.repo-filter' option...
marmoute -
r44192:2276a9a1 default
parent child Browse files
Show More
@@ -433,6 +433,9 b' coreconfigitem('
433 433 b'devel', b'debug.extensions', default=False,
434 434 )
435 435 coreconfigitem(
436 b'devel', b'debug.repo-filters', default=False,
437 )
438 coreconfigitem(
436 439 b'devel', b'debug.peer-request', default=False,
437 440 )
438 441 coreconfigitem(
@@ -217,6 +217,9 b' def filterrevs(repo, filtername, visibil'
217 217 hidden-state and must be visible. They are dynamic and hence we should not
218 218 cache it's result"""
219 219 if filtername not in repo.filteredrevcache:
220 if repo.ui.configbool(b'devel', b'debug.repo-filters'):
221 msg = b'debug.filters: computing revision filter for "%s"\n'
222 repo.ui.debug(msg % filtername)
220 223 func = filtertable[filtername]
221 224 if visibilityexceptions:
222 225 return func(repo.unfiltered, visibilityexceptions)
General Comments 0
You need to be logged in to leave comments. Login now