[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[wdiff-bugs] Re: swd - SVN word diff (wdiff)
From: |
Daniel Shahaf |
Subject: |
[wdiff-bugs] Re: swd - SVN word diff (wdiff) |
Date: |
Mon, 30 Nov 2009 09:20:35 +0200 (Jerusalem Standard Time) |
Chris Pickett wrote on Sun, 29 Nov 2009 at 20:58 -0500:
> > > Yes, except getting 'svn wdiff' recognized probably requires wrapping svn
> > > itself. (I didn't think of this, so thanks!)
> >
> > Some sort of generic wrapper, perhaps?
>
> Hmm, good idea, I updated things.
>
export PATH=`echo ${PATH} | sed -e "s_${HOME}/cpicke/home/sbin/swd:__g"`
You can use `dirname $0` instead of hard-coding the path here?
> > #!/bin/sh
> > svn=/usr/bin/svnc
>
> I made this portable with `which svn` and saving/editing/restoring PATH. A
> similar wdiff wrapper that accepted colour and context options would be neat.
So you're actually going to use that wrapper!? Good to see that writing
partially-tested shell scripts in an email at 2am actually turns out
useful sometimes...