My question is probably related to git - how can I clone local svn repository? but I cannot quite achieve what I want to.
We have an old local SVN repository. It looks like a single repository, but there are multiple different projects under this repository, like:
project1/
project1_subproject1/
project1_subproject2/
project1_subproject3/
project2/
project2_subproject1/
project2_subproject2/
project2_subproject3/
...
I am trying to git svn clone
just one of the sub-projects, not the entire repository, but I am really not sure how to do that.
The main repository is under: /home/user/projects/subversion/
I tried git svn clone file:///home/user/projects/subversion/project2/project2_subproject1
but obviously that fails.
I also tried git svn clone --trunk=project2/project2_subproject1 file:///home/user/projects/subversion/
, but that also fails.
Both tries result in W: Ignoring error from SVN, path probably does not exist: (160013): Filesystem has no item: File not found:
Note: I have managed to clone the entire subversion repository into one single git repository using git svn clone file:///home/user/projects/subversion/
, but that's not what I want.
Any help please?