简体   繁体   English

CVS2GIT迁移失败-致命:标记:6885未声明

[英]CVS2GIT migration failed - fatal: mark :6885 not declared

i was trying to run git fast-import using dump.dat file but got an error like fatal mark not declared. 我试图使用dump.dat文件运行git fast-import,但出现未声明致命标记的错误。

[root@linuxbuild spa-linux.git]# git fast-import --export-marks=../git-tmp/git-marks1.dat<../dump.dat fatal: mark :6885 not declared fast-import: dumping crash report to fast_import_crash_27128 [root @ linuxbuild spa-linux.git]#git fast-import --export-marks = .. / git-tmp / git-marks1.dat <../ dump.dat致命:mark:6885未声明为快速导入:将崩溃报告转储到fast_import_crash_27128

does someone can help me to resolve this error? 有人可以帮助我解决此错误吗?

Should you be using --import-marks (not export )? 您应该使用--import-marks (而不是export )吗?

See CVS2GIT- Conversion: Error "mark ... not declared" when running git fast-import 请参见CVS2GIT-转换:运行git fast-import时出现错误“标记...未声明”

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM