subversion-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ryan Schmidt <subversion-20...@ryandesign.com>
Subject Re: How do you to export/update a pattern filtered subset of a large repository?
Date Tue, 06 Apr 2010 07:40:00 GMT

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.



Mime
View raw message