File: //usr/lib/python2.7/dist-packages/hgext/blackbox.pyc
ó
ÛXc @@ sø d Z d d l m Z d d l Z d d l Z d d l m Z d d l m Z d d l m
Z
m Z m
Z
i Z e
j e ƒ Z d Z d a i Z d „ Z d „ Z d
„ Z d „ Z d „ Z e d
d d d e d ƒ f g e d ƒ ƒ d „ ƒ Z d S( s¶ log repository events to a blackbox for debugging
Logs event information to .hg/blackbox.log to help debug and diagnose problems.
The events that get logged can be configured via the blackbox.track config key.
Examples::
[blackbox]
track = *
# dirty is *EXPENSIVE* (slow);
# each log entry indicates `+` if the repository is dirty, like :hg:`id`.
dirty = True
# record the source of log messages
logsource = True
[blackbox]
track = command, commandfinish, commandexception, exthook, pythonhook
[blackbox]
track = incoming
[blackbox]
# limit the size of a log file
maxsize = 1.5 MB
# rotate up to N log files when the current one gets too big
maxfiles = 3
i ( t absolute_importN( t _( t hex( t cmdutilt uit utils ships-with-hg-corec C@ s>