Mercurial > diff-colorize
log diff-colorize.py @ 6:d58b4e2e12d4
age | author | description |
---|---|---|
Mon, 11 Aug 2008 00:14:01 -0700 | Peter Hosey | Moved the imports of sys and fileinput, so that all the imports are together. |
Sun, 10 Aug 2008 23:50:06 -0700 | Peter Hosey | Added prefixes “old mode” and “new mode”, found in Git-style diffs, along with new color constants for them. We treat these the same way we treat “---” and “+++”. |
Sun, 10 Aug 2008 23:33:22 -0700 | Peter Hosey | Get our color constants from the environment, if possible. |
Sun, 10 Aug 2008 23:29:49 -0700 | Peter Hosey | Move the color constants above the format strings, since the color constants are more editable. |
Sun, 10 Aug 2008 23:29:08 -0700 | Peter Hosey | Added support for hunk start markers (@@…@@). For these, we set the whole line in reverse video, in the same color we use for index lines. |
Sun, 10 Aug 2008 23:25:24 -0700 | Peter Hosey | Refactored to allow me to more easily add new prefixes. |
Sun, 10 Aug 2008 22:57:59 -0700 | Peter Hosey | Initial check-in of first working version. |