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

Re: Svndumpfilter

From: C. Michael Pilato <cmpilato_at_collab.net>
Date: 2004-10-07 16:08:32 CEST

"Jesper Carlsson" <jc@triacon.se> writes:

> Hi! From svndumpfilter help exclude: “Filter out nodes with given
> prefixes from dumpstream.” I’ve also reed the manual. Is it
> really just possible to filter with prefixes? I would like to use
> the svndumpfilter to filter files like *.ext. Is this possible?

No. When we say "with given prefixes", we actually mean it.

> If not, could I use any filter to remove a specific file? Please
> give some examples! I would appreciate help very much, thanks!

Actually, I imagine it would be pretty trivial to teach svndumpfilter
to filter based not on prefixes, but on file patterns. Are you up for
a coding task? Basically s/prefix/pattern/ through the entirety of
svndumpfilter/main.c, and then replace 'ary_pattern_match' (which was
'ary_prefix_match' :-) with svn_cstring_match_glob_list().

(cross-posting to dev@ in case someone there wants to take on this
bite-sized task)

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Oct 7 16:10:44 2004

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.