log
graph
tags
bookmarks
branches
changeset
browse
zip
bz2
help
Mercurial
>
diff-colorize
log
Find changesets by keywords (author, files, the commit message), revision number or hash, or
revset expression
.
less
more
| rev 17:
(0)
tip
age
author
description
2011-01-04
Peter Hosey
Make the file importable for debugging purposes by wrapping the main-program-only bits in an if __name__ == "__main__" block.
2008-08-11
Peter Hosey
Added tag 1.0b2 for changeset a7214992f904
2008-08-11
Peter Hosey
Added a different set of default color codes and a different colorization format string. Both of these are to support 16-color mode (which is all Terminal supports).
1.0b2
2008-08-11
Peter Hosey
Added tag 1.0b1 for changeset 89284f926abb
2008-08-11
Peter Hosey
Darkened the colors for “old mode” and “removed”. The previous “removed” color was just too pink—not the light red I wanted.
1.0b1
2008-08-11
Peter Hosey
Removed the now-unnecessary print statement for RESET_FORMAT, since we now output RESET_FORMAT at the end of every loop iteration, rather than the beginning.
2008-08-11
Peter Hosey
Marked the program as executable.
2008-08-11
Peter Hosey
Added my standard BSD license.
2008-08-11
Peter Hosey
Added usage information.
2008-08-11
Peter Hosey
Now that these can come from the environment, they are variables. Lowercasing their names for this reason.
2008-08-11
Peter Hosey
Added some comments documenting the OrderedDict class and our instance's contents.
2008-08-11
Peter Hosey
Moved the imports of sys and fileinput, so that all the imports are together.
2008-08-11
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 “+++”.
2008-08-11
Peter Hosey
Get our color constants from the environment, if possible.
2008-08-11
Peter Hosey
Move the color constants above the format strings, since the color constants are more editable.
2008-08-11
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.
2008-08-11
Peter Hosey
Refactored to allow me to more easily add new prefixes.
2008-08-11
Peter Hosey
Initial check-in of first working version.
less
more
| rev 17:
(0)
tip