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

Re: [TSVN] Restoring a deleted file, improvement request

From: Joseph Galbraith <galb_at_vandyke.com>
Date: 2005-08-09 22:06:48 CEST

SteveKing wrote:
> Joseph Galbraith wrote:
>
>> Is this the same reason why I get a similar error when trying to
>> get diffs for a revision where the folder has since been renamed?
>>
>> i.e., there was a file a/b/c in my repository. It was changed in
>> r5432, latter, in r9432 it was renamed to x/b/c. When I do show
>> log on it, and go back to r5432 and try to see the changes made
>> in that revision, I get:
>>
>> File note found: revision 18567, path 'a/b/c'
>>
>> which is of course true since a/b/c hasn't exist since r9432.
>
> That's a different issue: you simply can't see the difference because
> the only difference is that the file is present in revision x-1 and
> deleted in revision x. So why do you want to see the difference there
> anyway?

Because I want to see what code change was made in that revision.

Sometimes it's because I think there might have been a bug
introduced in the code changes made in the file, and so I
want to review the diffs.

Or there was a piece of code removed in that revision that I
want back now.

Or, in the most recent case, it was a change we made to a
third party library. I had a new version of the library,
and I needed to re-apply the change.

I'm not sure I understand your answer though. I think maybe
I didn't explain the test case very well. The file is present
as a/b/c in both x and x-1, it didn't get moved to x/b/c
until x+4000.

However, I have now remembered that I was able to retrieve
the diff from the command line by doing:

   svn diff -r5431:5432 svn+ssh://blah/my/repo/a/b/c_at_5432

Thanks,

Joseph

PS. Sorry for having hijacked another subject... not sure
what to do about it now though :-( I thought my problem
was related, but I'm pretty sure it isn't now.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Tue Aug 9 21:59:59 2005

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

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