Filtering the dump file
You now have a spacely.dump file on your computer. But that contains the complete repository. Now you want to create a new dump file that only contains the plockets product. You do that with the svndumpfilter command:
cat spacely.dump | svndumpfilter --drop-empty-revs --renumber-revs --quiet include plockets > plockets.dump
This does the following:
- you pipe the complete dump file to svndumpfilter,
- you only include revisions that contain changes to plockets,
- you drop (ignore) any revisions that have nothing to do with plockets,
- you renumber the revisions (this is recommended when you use the previous step),
- you do this quietly, though when you do this the first time you probably want to see what happens, so remove the --quiet part,
- you put the result in a new dump file plockets.dump.
Several things could go wrong here, but we assume for now that this command succeeds without warnings or errors. If you run into problems, then consult the section called Problems with svndumpfilter.
