##// 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 coreconfigitem(
433 b'devel', b'debug.extensions', default=False,
433 b'devel', b'debug.extensions', default=False,
434 )
434 )
435 coreconfigitem(
435 coreconfigitem(
436 b'devel', b'debug.repo-filters', default=False,
437 )
438 coreconfigitem(
436 b'devel', b'debug.peer-request', default=False,
439 b'devel', b'debug.peer-request', default=False,
437 )
440 )
438 coreconfigitem(
441 coreconfigitem(
@@ -217,6 +217,9 def filterrevs(repo, filtername, visibil
217 hidden-state and must be visible. They are dynamic and hence we should not
217 hidden-state and must be visible. They are dynamic and hence we should not
218 cache it's result"""
218 cache it's result"""
219 if filtername not in repo.filteredrevcache:
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 func = filtertable[filtername]
223 func = filtertable[filtername]
221 if visibilityexceptions:
224 if visibilityexceptions:
222 return func(repo.unfiltered, visibilityexceptions)
225 return func(repo.unfiltered, visibilityexceptions)
General Comments 0
You need to be logged in to leave comments. Login now