Show More
@@ -30,6 +30,7 b' from . import (' | |||||
30 | encoding, |
|
30 | encoding, | |
31 | error, |
|
31 | error, | |
32 | formatter, |
|
32 | formatter, | |
|
33 | loggingutil, | |||
33 | progress, |
|
34 | progress, | |
34 | pycompat, |
|
35 | pycompat, | |
35 | rcutil, |
|
36 | rcutil, | |
@@ -490,6 +491,14 b' class ui(object):' | |||||
490 | self._trustusers.update(self.configlist('trusted', 'users')) |
|
491 | self._trustusers.update(self.configlist('trusted', 'users')) | |
491 | self._trustgroups.update(self.configlist('trusted', 'groups')) |
|
492 | self._trustgroups.update(self.configlist('trusted', 'groups')) | |
492 |
|
493 | |||
|
494 | if section in (None, b'devel', b'ui') and self.debugflag: | |||
|
495 | tracked = set() | |||
|
496 | if self.configbool(b'devel', b'debug.extensions'): | |||
|
497 | tracked.add(b'extension') | |||
|
498 | if tracked: | |||
|
499 | logger = loggingutil.fileobjectlogger(self._ferr, tracked) | |||
|
500 | self.setlogger(b'debug', logger) | |||
|
501 | ||||
493 | def backupconfig(self, section, item): |
|
502 | def backupconfig(self, section, item): | |
494 | return (self._ocfg.backup(section, item), |
|
503 | return (self._ocfg.backup(section, item), | |
495 | self._tcfg.backup(section, item), |
|
504 | self._tcfg.backup(section, item), |
General Comments 0
You need to be logged in to leave comments.
Login now