Hi group,
In recent days, i have been working on the migrating from svn to gitlab using subgit.
My purpose is one time import. But i encountered some problem caused by the complexity:
- the layout is non-standard, the current repo's structure is:
-repo
-- projectA
-- project suite
-- projectB
-- projectC
-- tags
-- projectA
-- project suite
-- projectB
-- projectC
- the trunk and tags are renamed before
some times ago, the original name of trunk is branch, and the original name of tags is trunk, that is:
original trunk -> renamed to current tags
original branch -> renamed to current trunk
and since original branch is renamed, currently no branch exists anymore
i would like to import each project(projectA, projectB, projectC into gitlab respectively), the problem is i cannot retrieve the historical svn logs before renaming, when migrating to gitlab using subgit.
i tried many ways but did not work. Two typical ones:
1, could be executed, but only logs after renaming:
subgit import --non-interactive --authors-file ..\authormap.txt --trunk "trunk/project suite/projectB" --username user --password pass --svn-url "path/to/repo" projectB.git
subgit import --non-interactive --authors-file ..\authormap.txt --trunk "trunk/project suite/projectB:refs/heads/master" --branches "branch/project suite/project:refs/heads/previous/master" --username user --password pass --svn-url "path/to/repo" projectB.git
could anyone know whether subtit support such scenarios, or any other solution with subgit? thanks.