I have the following SVN repository structure. This is not by design, someone did something odd before I became involved.
https://server/svn/repo
https://server/svn/repo/rootfolder1
https://server/svn/repo/rootfolder2
https://server/svn/repo/trunk
https://server/svn/repo/trunk/trunkfolder1
https://server/svn/repo/trunk/trunkfolder2
I am attempting to import the two folders rootfolder1
and rootfolder2
into a Git repository (I will then split them off to separate repositories using git-filter-branch).
Running subgit import --svn-url https://server/svn/repo repo-root
, I'm left with a Git repository with trunkfolder1
and trunkfolder2
. Passing --trunk repo
gives me an empty Git repository. Running as subgit import --svn-url --trunk repo https://server/svn repo-root
gives me the following error:
IMPORT FAILED
error: svn: E175002: PROPFIND of '/': 405 Method Not Allowed (https://server)
I also tried subgit --import --trunk . --svn-url https://server/svn/repo repo-root
however subgit complains about the --trunk
parameter.
Any suggestions on a solution to this problem?