tests/sitecustomize.py
author Patrick Mezard <patrick@mezard.eu>
Sun, 22 Jan 2012 19:35:26 +0700
changeset 16138 6e4de55a41a4
parent 14971 0b21ae0a2366
child 24505 031947baf4d0
permissions -rw-r--r--
hgweb: refactor graph customization javascript - Avoid flipping lineWidth state around the edge() call, pass it to the function instead. - Pass the line width and color appended to the other parameters instead of in a dictionary. The javascript code is simpler, no need to check for all containers existence, and the JSON output is smaller. - Reindent setColor() comments and fix code spacing.

try:
    import coverage
    getattr(coverage, 'process_startup', lambda: None)()
except ImportError:
    pass