[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: swd - SVN word diff (wdiff)

From: Daniel Shahaf <d.s_at_daniel.shahaf.name>
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...

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=2425355

Please start new threads on the <dev_at_subversion.apache.org> mailing list.
To subscribe to the new list, send an empty e-mail to <dev-subscribe_at_subversion.apache.org>.
Received on 2009-11-30 08:20:42 CET

This is an archived mail posted to the Subversion Dev mailing list.