Migrating SVN (pre-Git) branches with space in names

I ran into the general problem of migrating SVNs to Git, basically I have several branches (on SVNs) named with spaces. Is there a way to solve or trick him?

I found several “solutions”, but none of them worked for me.

  • For tags with spaces: stack overflow
  • User svn2git is not working.
  • git gc just compress the data (mostly)

I have a rough and massive repository for migration, and the team has already migrated more than 90% of them (this took more than a week).

Does anyone know how to solve it?

Git error: command returned error: 128

System Information:

Win 7 64x

Git version 1.9.5.msysgit.0

Thanks!

+2
source share
1 answer

Open the git-repo-name/.git/packged-refs and replace %20 with spaces.

Git version: git version 2.6.2.windows.1 (win 7 64x via git bash).

+2
source

All Articles