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

Re: Every Version of Every File in a Repository

From: Daniel Shahaf <d.s_at_daniel.shahaf.name>
Date: Thu, 9 Oct 2014 08:35:12 +0000

Branko Čibej wrote on Wed, Oct 08, 2014 at 00:41:01 +0200:
> On 07.10.2014 22:36, Andreas Mohr wrote:
> > Aside from the brute-force method of checking out the entire repository
> > starting at revision 1 , performing a scan, updating to the next revision,
> > and repeating until I reach the head, I don’t know of a way to do this.
>
> This is, in fact, likely to be (almost) the most efficient way to do
> this, since you can just use the existing Subversion client to deal with
> the repository contents and version discrepancies.
>
> But there is an alternative that might be more efficient in your case:
> Create a dumpstream of the repository using "svnadmin dump",
> non-incremental and not using deltas, then pipe the stream to a custom
> tool that extracts the file contents the stream and either writes them
> to disk, or passes them to your scanning tool in some other way.

Non-incremental dump will dump the entire tree anew for every revision.
An incremental, non-deltas dump should suffice here.
Received on 2014-10-09 10:35:46 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.