Showing posts with label svn. Show all posts
Showing posts with label svn. Show all posts

Jun 19, 2013

Colored SVN diff

svn di --git --no-diff-deleted -x -p | pygmentize -l diff -f html -O full,style=emacs > /tmp/patch.html

May 6, 2013

SVN stash equivalent

svn diff > patch_name.patch; svn revert -R .
patch -p0 < patch_name.patch