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

Re: Diffing Question

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2004-03-23 15:08:30 CET

David Harrigan wrote:

> Am I getting this totally wrong? I hope I'm explaining myself well
> enough, but if not then please ask.

You're not wrong; you've just discovered one of the big "annoyances" on
the svn 1.1 hit-list.

Basically, a whole bunch of svn commands should be smart enough to
follow history... but only 'svn log' actually does it. For example, if
I run 'svn diff -r X:Y URL', and the URL@Y happens to have been copied
from a different location, the diff command should be able to
automatically discover the oldURL@X, and then compare the two different
URLs.

The workaround for now is that *you* have to discover the old location
(via 'svn log -v'), and then run

     svn diff URL1@X URL2@Y

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Mar 23 15:10:17 2004

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