Attached is a simple shell wrapper around fossil diff that colorizes the output of unified diffs. All command line options are passed on to fossil diff (so you can do --from, --to, --branch, etc), but I wouldn't expect good results for just anything (--side-by-side will break, as will --tk of course).
(I'm also piping the output to less at the end because that's my habit but it's easy to remove of course). When I wrote this I tried to match git's diff colors as closely as possible. I've since realized that I actually had a custom diff color scheme in my (inherited and uninspected) .gitconfig, so the only thing I can say about the colors is that I like them and that they're pretty easy to customize. This has so far been lightly tested on exactly one (linux-based, of course) machine but seems to work pretty well for me so far. Criticism and feedback welcome, and I hope it's useful to somebody. Themba
f-diff
Description: Binary data
_______________________________________________ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users