I'm importing a svn repository into git using git svn
. I'm using Git-1.8.0-preview20121022 on Windows Server 2008 R2.
The import's been running for a while and has fetched the first 4000 revisions without incident. However, it now seems to have come across a branch name with a trailing space and it has fallen over.
$ git svn fetch
Found possible branch point: https://10.10.10.2/svn/project/trunk => https://10.10.10.2/svn/project/branches/Release%2020110929%20, 3976
Found branch parent: (refs/remotes/Release 20110929 ) 691fb7f7d11cbb1afe35106f60a1d117ba415f4c
fatal: Unable to create 'd:/GitMigration/project/.git/svn/refs/remotes/Release 20110929 /index.lock': No such file or directory
read-tree 691fb7f7d11cbb1afe35106f60a1d117ba415f4c: command returned error: 128
This branch doesn't exist any more so I can't change the name in the normal way. The directory exists without the trailing space in the name but I can't find a way to rename it that preserves the space.
Is there anything I can do about this?