Fatal error on "mode 120000" file during git -> svn migration

Posted by Oliver on Server Fault See other posts from Server Fault or by Oliver
Published on 2010-03-30T15:45:46Z Indexed on 2010/03/30 15:53 UTC
Read the original article Hit count: 417

Filed under:
|
|
|
|

Following instructions from the following website: http://code.google.com/p/support/wiki/ImportingFromGit

I'm trying to migrate a git repository to svn, but during the "git rebase master tmp" step it fails with the following error after apply the first few patches:


$ git rebase master tmp
First, rewinding head to replay your work on top of it...
Applying: Imported
Applying: Cleaned up the readme file
Applying: fix problem with versions
fatal: unable to write file foobar mode 120000
Patch failed at 0003 fix problem with versions

When you have resolved this problem run "git rebase --continue".
If you would prefer to skip this patch, instead run "git rebase --skip".
To restore the original branch and stop rebasing run "git rebase --abort".


I understand that 120000 may refer to a symlink, but Subversion has supported symlinks for a long time now. Subversion installed is 1.6.5, Git is 1.6.3.3. Running on Ubuntu Linux. The system is not running out of disk space and this operation is taking place within my home directory so permissions should not be an issue.

© Server Fault or respective owner

Related posts about git

Related posts about svn