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

script to use xxdiff with svn

From: Faheem Mitha <faheem_at_email.unc.edu>
Date: 2004-09-29 06:21:04 CEST

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
Received on Wed Sep 29 06:21:51 2004

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.