Import data into a local Git repository by the command:
subgit import --authors-file AUTHORS_FILE --trunk TRUNK --branches BRANCHES --tags TAGS --username USER --password PASSWORD --svn-url SVN_URL GIT_REPO
AUTHORS_FILE –a path to authors file, that contains SVN-to-Git authors names mapping. For details, see Authors mapping user manual.
TRUNK –a path, relative to
SVN_URL, that leads to an SVN directory playing a role of the main line of development. For details see "Branches and Tags mapping" user manual.
BRANCHES –a path, relative to
SVN_URL, that leads to an SVN directory that contains SVN project's branches. For details see "Branches and Tags mapping" user manual.
TAGS –a path, relative to
SVN_URL, that leads to an SVN directory that contains SVN project's tags. For details see "Branches and Tags mapping" user manual.
USER –an SVN username to be used to access the imported SVN project.
PASSWORD –the SVN
SVN_URL –the SVN project URL.
GIT_REPO –a path to a new local Git repository where data from the SVN project is being imported to.
When the command is completed, you can clone your new Git repository and start working with it:
git clone GIT_REPO WORK_TREE
WORK_TREE – a path to your working copy.
If Git warns you that you are cloning an empty repository and you don't see your files in the working tree, most probably automatic branches and tags mapping didn't work correctly. In this case, mapping has to be set manually, see details on mapping in Branches and tags mapping.
If you encounter any problems, see one of the following guides for more details:
For one-time import, no license is needed.
Should you need assistance, don't hesitate to contact us at email@example.com.