Name
svndumpfilter include — Filter out nodes without given prefixes from dump stream.
Synopsis
svndumpfilter include PATH_PREFIX
...
Description
Can be used to include nodes that begin with one or
more PATH_PREFIX
es in a filtered dump
file (thus excluding all other paths).
Options
--drop-empty-revs --preserve-revprops --quiet --renumber-revs --skip-missing-merge-sources
Example
If we have a dump file from a repository with a number of different picnic-related directories in it, but want to keep only 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'
Get Version Control with Subversion, 2nd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.