Re: Every Version of Every File in a Repository
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