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

Re: How do you to export/update a pattern filtered subset of a large repository?

From: Ryan Schmidt <subversion-2010a_at_ryandesign.com>
Date: Tue, 6 Apr 2010 02:40:00 -0500

On Apr 6, 2010, at 00:56, Anthony OHagan wrote:

> I have a batch processing application that needs to process a subset of documents of a given type in a large SVN repository.
> I wish to recursively traverse the repository and only export or update documents that match a pattern.
>
> Ideally I’d prefer to use a recursive pattern in a single export or update command that preserves the parent directory hierarchy for exported/update files.
> Ant scripts, for example, support this type of recursive file name pattern using filesets:
> http://ant.apache.org/manual/CoreTypes/fileset.html
>
> I failed to find a straightforward way to do this.
> Can you either suggest a solution … or otherwise I will submit an enhancement request.

I think you will have to write a script to do that. There are language bindings available, or you could parse the svn command's output.
Received on 2010-04-06 09:40:41 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.