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

Problem comparing revisions after a move

From: Frederic Donckels <lubdub_at_tiscali.be>
Date: 2005-01-10 14:38:02 CET

Hello devs,

This is related to the bug 1093:
http://subversion.tigris.org/issues/show_bug.cgi?id=1093

I asked the following thing on the TortoiseSvn mailing-list:

==================================================
Here's my problem:
(I use TortoiseSvn 1.1.2 and the latest version of Subversion)
We had a VisualSourceSafe repository and moved last week to Subversion. Some of
our devs wanted to keep the history so we ran a script to import part of that
history. Being cautious (I thought), we first imported the files with the
history inside a separate project: vss-import. I checked that everything was
fine, then used the repository browser to move the imported structure inside the
trunk.

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'

As the unified diff works perfectly, I think this shouldn't be too difficult to
fix ("Where's the patch?" ... err... I know... but I lack the skills... :) ).
==================================================

I received the following answer:

==================================================
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've been searching through the Issue Tracker of subversion but couldn't find
any reference to this 'missing feature'.

My questions are:
- are you aware of this missing feature? (I know the command line works
perfectly, but sometimes it's a bit more handy to see the diffs the way
TortoiseSvn shows them)
- if yes, is it somewhere in the Issue Tracker?
- if yes, what is its #id ?
- is it planned for the 1.2 release?

Thank you for your time,

Best regards,

Frédéric Donckels

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Jan 10 14:39:35 2005

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.