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

[TSVN] Re: Problem comparing revisions after a move

From: Simon Large <slarge_at_blazepoint.co.uk>
Date: 2005-01-10 11:27:55 CET

Frederic Donckels wrote:
> And now, the "funny" thing:
> After that move, when I select a file, I can see its whole history,
> that's fine :) . When I select an old revision from that history
> and the latest one, if I want to see the [differences as unified
> diff], everything goes fine, I can see the text difference. But
> if I want to see the differences using [Compare Revisions], I
> receive an error message:
> File not found: revision 219, path '/trunk/actual/path/of/the/file'
> Which is, somehow, "logical", because at revision 219, the path was
> '/vss-import/old/path/of/the/file'

That is exactly the problem, and it is in subversion, not TSVN. As of
SVN 1.1 all commands are able to follow renames, so this should work.
However, the API provided to client programs such as TSVN is lacking
this feature when using URLs, which is what the repository browser
always does. So you cannot do this from within the repo browser. I
believe it is scheduled to be fixed in the upcoming SVN 1.2 release.

However, you _can_ diff from your working copy. If you show log for the
file in question (and then clear the stop-on-copy checkbox and 'Show
All') you can select any 2 previous revisions and compare differences,
either directly or as a unified diff.

> (I saw something fixed in the changelog, but I'm not sure if this is
> related: BUG: The revision graph got confused with renames. (Stefan))

No, that's a different issue.


  oo  // \\      "De Chelonian Mobile"
 (_,\/ \_/ \     TortoiseSVN
   \ \_/_\_/>    The coolest Interface to (Sub)Version Control
   /_/   \_\     http://tortoisesvn.tigris.org
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Mon Jan 10 11:33:05 2005

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