在使用Windows上的hg-fast-export工具解决了无数问题之后(从清理mercurial存储库以满足工具需要的finicky python版本)我偶然发现了一个我无法解决的错误:
master: Exporting full revision 1/98 with 142/0/0 added/changed/removed files
fatal: Branch name doesn't conform to GIT standards: refs/heads/master
fast-import: dumping crash report to .git/fast_import_crash_5956
Traceback (most recent call last):
File "../fast-export/hg-fast-export.py", line 388, in <module>
options.statusfile,authors=a,sob=options.sob,force=options.force))
File "../fast-export/hg-fast-export.py", line 322, in hg2git
c=export_commit(ui,repo,rev,old_marks,max,c,authors,sob,brmap)
File "../fast-export/hg-fast-export.py", line 214, in export_commit
export_file_contents(ctx,man,added)
File "../fast-export/hg-fast-export.py", line 126, in export_file_contents
wr(d)
File "../fast-export/hg-fast-export.py", line 28, in wr
print msg
File "c:\Python26\lib\site-packages\mercurial\windows.py", line 70, in write
raise IOError(errno.EPIPE, 'Broken pipe')
IOError: [Errno 32] …Run Code Online (Sandbox Code Playgroud)