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

Re: how to diff against an version prior to a file move?

From: Garrett Rooney <rooneg_at_electricjellyfish.net>
Date: 2003-11-12 15:54:52 CET

Joey Hess wrote:
> Joey Hess wrote:
>>joey_at_dragon:~/bin>svn diff -r 738:739 svn+ssh://kitenet.net/home/svn/joey/trunk/
>>Yep, no changes to that directory in that rev.
> So let's diff the whole repo instead!
> joey_at_dragon:~/bin>svn diff -r 738:739 svn+ssh://kitenet.net/home/svn/joey/
> Index: bintrunk/cvsfix
> ===================================================================
> --- bintrunk/cvsfix (revision 738)
> +++ bintrunk/cvsfix (revision 739)
> (BTW does that need to transfer the whole repo, or does the diff
> happen on the server?)

The actual diff (generating the unified diff output) is done client
side, but determining what files have changed is server side, since the
repository contains enough information to tell you what files were
modified in that revision.

> Aha! That would be the name I told cvs2svn to use, since it cannot
> yet support --trunk=trunk/bin.
> Now someone *please* tell me there is a better way to deal with this
> kind of file move and diff.

Currently, I'm not aware of a better way to go about it. I think
there's been some discussion of this on the dev list lately though, so
things may improve in the future.


To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Nov 12 15:56:00 2003

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.