I am trying to split out a repo that has multiple projects in it into stand-alone repos. Let's say I have the following structure, currently:
/MyRepo
/Trunk
/Source
/Project1
...
/ProjectN
/Branches
/Branch1
/Source
/Project1
...
/ProjectN
/AnotherProject
/Branch3 >> Note: nested branch
/Source
/Project1
So if I wanted to dump Project1, I want to get all related paths, that could be:
- /MyRepo/Trunk/Source/Project1/
- /MyRepo/Branches/Branch1/Source/Project1
- /MyRepo/Branches/AnotherProject/Branch3/Source/Project1
Basically I want to include all references to Project1 from Trunk and Branches, including nested branches.
Is there any way to accomplish this?
svndumpflter includewith a set of paths in one command (handwork)--patternoption (if instead of enumerating paths by substring you can build glob-pattern) - see Examples from SVN Book page