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

[TSVN] Re: Error when diffing across a copy

From: Norbert Unterberg <nepo_at_gmx.net>
Date: 2005-01-17 10:09:44 CET

SteveKing schrieb:

>> svn cat filename -r rev > filename.new
>
> Still fails when you do that for a file which has been copied twice.

No, because between rev-1 and rev a file can only be copied once.
Otherwise there were more than one revision involved. And filename at
revision rev is known, because I explicitly click on it in the log
view's file list.

>> svn diff filename -r rev:rev-1 > filename.patch
>> patch filename.new using filename.patch to create filename.old
>> launch diff viewer with filename.new and filename.old

> Only would work with TortoiseMerge, not other diff programs.

I don't understand. I assume that TSVN has a way of applying a patch to
a file. Then TSVN can create filename.old by applying the diff to
filename.new. Then you can show filename.old and filename.new with any
diff viewer you like.

Where am I wrong?

PS: You might stop this duscussion any time when you think that svn 1.2
will solve this automatically, of if such a change would not make it
into TSVN 1.1.x anyway...

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Mon Jan 17 10:11:11 2005

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