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

Re: diff of arbitrary removed versions

From: George Georgalis <george_at_galis.org>
Date: 2006-06-16 01:04:12 CEST

On Thu, Jun 15, 2006 at 06:16:32PM -0400, George Georgalis wrote:
>A user has asked me how to diff these two files...
>
>-r 3 tim/nom/PARAMS4.for
>-r 124 tim/nom/PARAMS4
>
>I beleve svn mv was used at some point, there is no
>PARMS4.for in HEAD. It would seem svn diff is able
>to but I cannot get the syntax right:
>
>$ svn diff --old=tim/nom/PARAMS4.for@3 --new=tim/nom/PARAMS4@124
>svn: 'tim/nom/PARAMS4.for' is not under version control
>$ svn diff -r 3:124 --old=tim/nom/PARAMS4.for --new=tim/nom/PARAMS4
>svn: 'tim/nom/PARAMS4.for' is not under version control
>
>Is there a way to do this short of checking out both
>versions and doing a manual diff?

Okay, I figured it out. Need to specify the repo path when the
target is not in checkout, eg

$ svn diff -r 3:124 --old=file:///repo/tim/nom/PARAMS4.for --new=tim/nom/PARAMS4

Thanks,
// George

-- 
George Georgalis, systems architect, administrator <IXOYE><
http://galis.org/ cell:646-331-2027 mailto:george_at_galis.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Jun 16 01:05:37 2006

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.