Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Info
titleNon-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>@gforge-next.eufus.eu/svn/<SVN_PROJECT_NAME> my_project


Warning
In case you consider the current layout of your SVN/Git repository more elaborate than usual (convoluted /tags, /trunk and /branches or heavily reliant on externals), please contact the ACH team to get some assistance on the migration.

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.

...

Prepare new project

  1. Log in to https://gitlab.eufus.psnc.eu/dashboard/projects
  2. Press button "New project"
  3. Choose "Create blank project"
  4. Fill in the project form
  5. Disable option Initialize repository with a README
  6. Press button "Create project"

...

Code Block
$ git remote add origin https://gitlab.eufus.eupsnc.pl/<YOUR_GITLAB_USERNAME>/<GIT_PROJECT_NAME>

...