简体   繁体   English

SVN到GIT存储库的迁移,错误:无法锁定配置/元数据文件

[英]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.

相关问题 git错误“无法锁定配置文件.git / config权限被拒绝” - git error “could not lock config file .git/config permission denied” 错误:无法锁定配置文件.git/config:没有这样的文件或目录 - error: could not lock config file .git/config: No such file or directory 配置文件迁移后“Git 错误:无法锁定配置文件 C:/Users/old_profile/.gitconfig: No such file or directory” - “Git error: could not lock config file C:/Users/old_profile/.gitconfig: No such file or directory” after profile migration git submodules - 错误:无法锁定配置文件 .git/modules/path/to/vimlib/config:没有这样的文件或目录 - git submodules - error: could not lock config file .git/modules/path/to/vimlib/config: No such file or directory SVN到git迁移处理大型存储库 - Svn to git migration handling big repositories 错误的错误消息“无法锁定配置文件.git / config:权限被拒绝”,原因是未进行分阶段的更改; 在安装openJDK 8时在Homebrew中 - error of “could not lock config file .git/config: Permission denied” due to unstaged changes; in Homebrew while installing openJDK 8 "如何修复 Git for Windows 错误:“无法锁定配置文件 C:\/file\/path\/to\/.gitconfig: 文件存在”?" - How to fix Git for Windows error: "could not lock config file C:/file/path/to/.gitconfig: File exists"? 无法使Tower(OSX git GUI)忽略文件权限–“无法锁定配置文件.git / config”错误 - Can't get Tower (OSX git GUI) to ignore file permissions – “could not lock config file .git/config” error SVN到Git的迁移,其中SVN存储库中有存储库 - SVN to Git migration where SVN repository has repositories inside it 错误:无法锁定配置文件 C:/Program Files/Git/mingw64/etc/.gitconfig: Permission denied - error: could not lock config file C:/Program Files/Git/mingw64/etc/.gitconfig: Permission denied
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM