Re: Svndumpfilter

"C. Michael Pilato" <[email protected]>
Newsgroups gmane.mail.eyebrowse.user,gmane.comp.version-control.subversion.devel
Message-ID <m3d5zuvcwv.fsf__18623.6409623691$1097158295$gmane$org@localhost.localdomain>
"Jesper Carlsson" <[email protected]> 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)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.