[英]SVN to GIT repositories migration, Error : could not lock the config / metadata file
Basically i am migrating all my SVN repositories one by one to GIT remote, but in between I'm getting the following error when i try to fetch the metadata for SVN repository 基本上,我将所有SVN信息库一个一个地迁移到GIT远程,但是在这两者之间,当我尝试获取SVN信息库的元数据时,出现以下错误
Error: 错误:
error: could not lock config file .git/svn/.metadata: File exists
config svn-remote.REPOSITORYNAME https://svn01.comapnyname.com/svn/repos/REPOSITORYNAME: command returned error: 255
any help? 有什么帮助吗? how to solve this?
如何解决呢?
after doing the research and understood that i need to remove the .metadata.lock file under .git/svn/ I have deleted the file and its working good. 经过研究,并了解到我需要删除.git / svn /下的.metadata.lock文件,我已经删除了该文件并正常工作。
And also sometime the single branch under repository will take more time (more than 24 hrs), but at finally the migration will success. 而且有时存储库中的单个分支将花费更多的时间(超过24小时),但最终迁移将成功。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.