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

Best way to search across revisions

From: Troy Bull <troy.bull_at_gmail.com>
Date: Mon, 25 Feb 2008 12:48:46 -0600

Greetings

I wanted to create a report for management on our Repository. I
wanted to search each repository each revision for jar, ear, and war
files. So, I stared by using

svn ls -r # --verbose file://repo

where # goes from 0 to the svnlook youngest for each repository

This turns out to be VERY VERY slow, some of our repositories it was
taking 90 minutes to complete a single revision.

So, I decided to try something else.

I did the following (in perl)

open FL, "/usr/local/bin/svnadmin dump -r $rev --incremental $r 2>/dev/null |";

where $rev is the revision and $r is the repository, then I filter the
output for "files" and check them.

Then I keep track of count of each type, size of each type, and user
that is committing them into my Repository. This turned out the be
WAY faster. and it appears to be working, I am on revision 2800 of
5500 on repository 56 of 209.

Does anyone know of a better way to do this?

Thanks
Troy

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-02-25 19:49:10 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.