Name

svndumpfilter include — Filter out nodes without given prefixes from dumpstream.

Synopsis

svndumpfilter include PATH_PREFIX...

Description

Can be used to include nodes that begin with one or more PATH_PREFIXes in a filtered dumpfile (thus excluding all other paths).

Options

--drop-empty-revs
--renumber-revs
--skip-missing-merge-sources
--preserve-revprops
--quiet

Example

If we have a dumpfile from a repository with a number of different picnic-related directories in it, but only want to keep the sandwiches part of the repository, we'll include only that path:

$ svndumpfilter include sandwiches < dumpfile > filtered-dumpfile
Including prefixes:
   '/sandwiches'

Revision 0 committed as 0.
Revision 1 committed as 1.
Revision 2 committed as 2.
Revision 3 committed as 3.
Revision 4 committed as 4.

Dropped 3 node(s):
   '/drinks'
   '/snacks'
   '/supplies'

copyright  ©  November 23 2008 sean dreilinger url: http://durak.org/sean/pubs/software/version-control-with-subversion-1.5/svn.ref.svndumpfilter.commands.c.include.html