You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Faheem Mitha <fa...@email.unc.edu> on 2004/09/29 04:21:04 UTC

script to use xxdiff with svn

Hi,

I have the following very simple (and simple-minded) script, which I
called xxdiff-svn. 

xxdiff-svn filename

gives a diff between version in head and version in working copy.

***************************
#!/bin/sh

svn cat $1 > /tmp/$1.old
xxdiff /tmp/$1.old $1
***************************

However, this does not work if the file in question has a different
name, ie. `svn cp' has been used.. Can someone suggest a more robust
way to do this?

Thanks in advance. Please cc me, I'm not subscribed.      Faheem.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org