##// END OF EJS Templates
repoview: display stack trace along side the debug message...
marmoute -
r44194:d2a7f0aa default
parent child Browse files
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'debug.filters: computing revision filter for "%s"\n'
222 repo.ui.debug(msg % filtername)
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