Friday, January 27, 2012

svneditor: Subversion diffs when committing

Inspired by hgeditor, I just created a shell script svneditor that shows me a diff when I'm writing a commit message for a Subversion repository.  It works with both Vim and Emacs.

To use it, clone svneditor from GitHub, set the $SVN_EDITOR environment variable to the path to svneditor, and commit away.

Obligatory screenshots: