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

Re: AW: How to find out the rev number where a file was deleted?

From: Les Mikesell <lesmikesell_at_gmail.com>
Date: Tue, 30 Nov 2010 08:18:10 -0600

On 11/30/10 7:35 AM, Andrey Repin wrote:
>>> Binary search on the 0 to HEAD revision range is a possibility, but it's
>>> also a rather wasteful workaround.
>> Fisheye (a commercial product) does a brute-force extract/index of all
>> the filenames and content in all revs in a repo for quick searches.
>> I'm not sure if there is any equivalent open source program but this is
>> probably the right answer for anyone who needs to do that frequently.
> Sorry, do you mean that we have to pay to cover the lack of functionality in
> Subversion? And it should remain this way?

Yes, I would not expect fast indexed full-text searches across names and content
to ever be a part of the version control system itself. But the functionality
to find filename changes is there - just 'log -v' from the top.

>> There's a big problem here - whether a URL exists or not usually isn't
>> the right answer for things that have been deleted and replaced by
>> something else of the same name.
> I strongly suspect that Ludwig had in mind that Subversion could track
> revisions in which file has been changed in either way.
> Then no way you could confuse between different files with same URL.

It does track that, but I don't think there is a convenient way to ask for it.
Or for the server itself to find it efficiently.

   Les Mikesell
Received on 2010-11-30 15:18:54 CET

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.