From 4bf351afafea6e5806eb638a82844b9990c0d39a Mon Sep 17 00:00:00 2001 From: "Erik C. Thauvin" Date: Wed, 15 Feb 2006 01:05:15 +0000 Subject: [PATCH] Initial import --- svndiff.sh | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 svndiff.sh diff --git a/svndiff.sh b/svndiff.sh new file mode 100644 index 0000000..3f39b31 --- /dev/null +++ b/svndiff.sh @@ -0,0 +1,31 @@ +#!/bin/sh + +# svndiff -- svn diff with vimdiff. +# +# Written by Erik C. Thauvin (erik@thauvin.net) +# Februrary 14, 2006 +# +# Copyright (C) 2006 Erik C. Thauvin. All rights reserved. +# +# This software is provided "as is" without express or implied warranties. +# +# Permission is granted to use, copy, modify and distribute this software, +# provided this disclaimer and copyright are preserved on all copies. This +# software may not, however, be sold or distributed for profit, or included +# with other software which is sold or distributed for profit, without the +# permission of the author. +# +# $Id$ + +PROGNAME=`basename $0` + +if [ $# != 1 ] +then + echo "Usage: $PROGNAME " + exit 2 +else + TEMP=/tmp/$1.tmp.$$ + svn cat $1 > $TEMP + vimdiff $TEMP $1 + rm -f $TEMP +fi