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

Re: Finding the revision of a deleted file.

From: Stefan Sperling <stsp_at_elego.de>
Date: Wed, 13 Apr 2011 18:20:14 +0200

On Wed, Apr 13, 2011 at 11:27:22AM +1000, Gavin "Beau" Baumanis wrote:
> I have been doing some work everyone's good friend Mr.Google.
> Every blog / article I read all said the same thing;
> Create a file with svn log
> (svn log --verbose > svn.log)
> Then grep / search the log for the file you're after.
> It takes about 8 minutes just for the log file to be created - which makes it a slightly painful workflow - just to resurrect an old file.
> Is there not a more convenient way to do this?
> As always thanks in advance.
> Gavin "Beau" Baumanis

Hi Gavin,

this thread had some interesting technical discussion about this topic:

One way to work around this limitation is to use a data-mining tool which
crawls the repository and fills a relational database with information.
This DB can then be queried, often via a web interface. Two such products
are "svnsearch" (open source) and "fisheye" (proprietary).
They do more than just locating deleted files, though. I think both support
full text search of file content of all revisions in the repository, too.
Received on 2011-04-13 18:20:59 CEST

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.