I've inherited a Subversion (SVN) repository with 10 years of history, but when I am trying to convert to GitHub using git svn
command, although the following command is running perfectly, I am still getting an error:
Currently version 2.38.1
(windows)
Error
$ git svn fetch
Found possible branch point: https://REDACTED/tags/REDACTED%20Rev%20D => https://REDACTED/tags/REDACTED%20REV%20D%20, 4255
Found branch parent: (refs/remotes/origin/tags/REDACTED Rev D ) 6900fc84b93ff8d331aae85af70b5afdc333f6f0`
fatal: Unable to create 'C:/SrcRoot/REDACTED/.git/svn/refs/remotes/origin/tags/REDACTED Rev D /index.lock': Invalid argument
read-tree 6900fc84b93ff8d331aae85af70b5afdc333f6f0: command returned error: 128
There's a trailing space in the svn tag folder, that was removed a few moths later. It looks like the git svn fetch command is failing to process the tag folder name properly due to the trailing space.
Is there any way to make git svn fetch skip that tag?
Related issues: Git svn importing a branch with a trailing space
Directory
This the my current directory, but with this tag is being created with a trailing space, and the suggestions in that question don't seem to apply.
...\.git\svn\refs\remotes\origin\tags