Re: swd - SVN word diff (wdiff)
Daniel Shahaf <[email protected]> Mon, 30 Nov 2009 09:20:35 +0200 (Jerusalem Standard Time)
| Newsgroups | gmane.comp.version-control.subversion.devel,gmane.comp.version-control.subversion.rapidsvn.devel |
|---|---|
| Message-ID | <[email protected]> |
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 <[email protected]> mailing list.
To subscribe to the new list, send an empty e-mail to <[email protected]>.