...
Info |
---|
title | Non-standard SVN layouts |
---|
|
If your SVN repository doesn’t have a standard layout, you need to provide the locations of your trunk, branches, and tags using the --trunk , --branches , and --tags command line options. For example, if you have branches stored in both the /branches directory and the /bugfixes directories, you would use the following command: Code Block |
---|
git svn clone --trunk=/trunk --branches=/branches --branches=/bugfixes --tags=/tags --authors-file=users.txt --no-metadata --prefix "" https://<USERNAME>@gforge6.eufus.eu/svn/<SVN_PROJECT_NAME> -s my_project |
![](/download/thumbnails/24087346/Zrzut%20ekranu%20%2837%29.png?version=1&modificationDate=1571218792528&api=v2)
|
You should also do a bit of post-import cleanup. For one thing, you should clean up the weird references that git svn
set up. First you’ll move the tags so they’re actual tags rather than strange remote branches, and then you’ll move the rest of the branches so they’re local.
...