我有一个git存储库,里面有吨的二进制文件/构建工件。我试图用reposurgeon去除它们。最初,它在读取目录状态时会窒息死亡。我能够稍微破解一下这个来源并完成它。
但是现在当我试图重建结果时,我明白了:
reposurgeon% rebuild
reposurgeon: exporting......(15.53 sec) done.
reposurgeon: fatal exception in popen_or_die.
Traceback (most recent call last):
File "../reposurgeon-3.0/reposurgeon", line 9119, in <module>
interactive()
File "../reposurgeon-3.0/reposurgeon", line 9108, in interactive
interpreter.cmdloop()
File "/usr/lib/python2.7/cmd.py", line 142, in cmdloop
stop = self.onecmd(line)
File "../reposurgeon-3.0/reposurgeon", line 6105, in onecmd
cmd.Cmd.onecmd(self, line)
File "/usr/lib/python2.7/cmd.py", line 221, in onecmd
return func(arg)
File "../reposurgeon-3.0/reposurgeon", line 7506, in do_rebuild
rebuild_repo(self.chosen(), parse.line, parse.options, self.preferred)
File "../reposurgeon-3.0/reposurgeon", line 5540, in rebuild_repo
progress=verbose>0)
File "../reposurgeon-3.0/reposurgeon", line 5540, in rebuild_repo
progress=verbose>0)
File "../reposurgeon-3.0/reposurgeon", line 4600, in fast_export
fp.write(event.dump(target, options=options, realized=realized))
File "../reposurgeon-3.0/reposurgeon", line 1777, in dump
parts.extend(op.dump(vcs) + "\n" for op in self.fileops)
File "../reposurgeon-3.0/reposurgeon", line 1777, in <genexpr>
parts.extend(op.dump(vcs) + "\n" for op in self.fileops)
File "../reposurgeon-3.0/reposurgeon", line 1288, in dump
if len(self.path.split()) > 1:
AttributeError: 'NoneType' object has no attribute 'split'
fatal: Cannot determine the current working directory: No such file or directory
error: can't write crash report .git/fast_import_crash_2923: No such file or dir
ectory
error: git-fast-import died of signal 11
有任何线索如何解决或解决这个问题?