Show More
@@ -218,8 +218,18 def filterrevs(repo, filtername, visibil | |||
|
218 | 218 | cache it's result""" |
|
219 | 219 | if filtername not in repo.filteredrevcache: |
|
220 | 220 | if repo.ui.configbool(b'devel', b'debug.repo-filters'): |
|
221 |
msg = b' |
|
|
222 |
|
|
|
221 | msg = b'computing revision filter for "%s"' | |
|
222 | msg %= filtername | |
|
223 | if repo.ui.tracebackflag and repo.ui.debugflag: | |
|
224 | # XXX use ui.write_err | |
|
225 | util.debugstacktrace( | |
|
226 | msg, | |
|
227 | f=repo.ui._fout, | |
|
228 | otherf=repo.ui._ferr, | |
|
229 | prefix=b'debug.filters: ', | |
|
230 | ) | |
|
231 | else: | |
|
232 | repo.ui.debug(b'debug.filters: %s\n' % msg) | |
|
223 | 233 | func = filtertable[filtername] |
|
224 | 234 | if visibilityexceptions: |
|
225 | 235 | return func(repo.unfiltered, visibilityexceptions) |
General Comments 0
You need to be logged in to leave comments.
Login now