将cvs迁移到git时出错
我已将 cvs 存储库迁移到 git 存储库。
但在中间它退出并显示错误为未知:错误
是什么原因?我该如何克服这个问题?非常感谢任何帮助!提前致谢!
示例输出:
New vfiles/alarms/4003_182.wav: 80044 bytes
Fetching vfiles/alarms/4003_183.wav v 1.1
New vfiles/alarms/4003_183.wav: 92044 bytes
Fetching vfiles/alarms/4003_184.wav v 1.1
New vfiles/alarms/4003_184.wav: 80044 bytes
Fetching vfiles/alarms/4003_19.wav v 1.1
New vfiles/alarms/4003_19.wav: 72044 bytes
Fetching vfiles/alarms/4003_2.wav v 1.1
Unknown: error
I have migrated a cvs repository to git repository.
But in the middle it gets quit and it says the error as Unknown: Error
What is the reason? How can I overcome from this? Any help much appreciated! Thanks in Advance!
Sample output:
New vfiles/alarms/4003_182.wav: 80044 bytes
Fetching vfiles/alarms/4003_183.wav v 1.1
New vfiles/alarms/4003_183.wav: 92044 bytes
Fetching vfiles/alarms/4003_184.wav v 1.1
New vfiles/alarms/4003_184.wav: 80044 bytes
Fetching vfiles/alarms/4003_19.wav v 1.1
New vfiles/alarms/4003_19.wav: 72044 bytes
Fetching vfiles/alarms/4003_2.wav v 1.1
Unknown: error
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我刚刚遇到了同样的问题。 “未知:错误”不是来自“git cvsimport”(我怀疑这就是您想要做的),而是来自“cvsps”(由 cvsimport 在后台调用)。您可以使用“git cvsimport”的 -p 选项将其他选项传递给“cvsps”。
对我来说,问题是“~/.cvsps/cvsps.cache”文件损坏。像启动我的 git 命令行
(导致 cvsps 重建其缓存)为我修复了它。
I've just run into the same issue. The "Unknown: error" is not from "git cvsimport" (which I suspect is what you're trying to do), but from "cvsps" (which is called by cvsimport under the hood). You can use the -p option to "git cvsimport" to pass additional options to "cvsps".
For me, the problem was a broken "~/.cvsps/cvsps.cache" file. Starting my git commandline like
(causing cvsps to rebuild its cache) fixed it for me.