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

Re: svn diff on renamed files

From: <kfogel_at_collab.net>
Date: 2003-06-28 00:09:13 CEST

Chris Hecker <checker@d6.com> writes:
> Hmm, when I wrote my original mail I figured there was actually some
> way to do the svn diff, it was just inconvenient. Now it's seems that
> you just can't do the diff at all, even with full paths to the
> repository:
> svn diff --old url/old.txt@4 --new url/new.txt@HEAD
> doesn't work (or any of the other combos I tried...it keeps looking
> for new.txt@4 for some reason). Am I missing something? Bug 1093 is
> marked as post-1.0, which seems like a bad idea since this really
> limits the utility of being able to rename files in the first place,
> which is a big selling point of svn relative to cvs. It seems like
> the --old --new args are just broken to diff?
> Or am I missing the magic syntax (in addition to a clue)?

I think your syntax is right, judging from 'svn help diff' -- Philip
Martin will correct me if wrong. I think it's a known bug that not
everything promised by the syntax is actually delivered yet.

(Issue 1093 isn't about that, though, it's about guessing the URL from
just the working copy path, and Philip's comments there explain why
this practise is at least questionable.)

To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Jun 28 00:58:34 2003

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

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