“无法打开数据库文件"尝试将化石存储库导出到git时 [英] "Unable to open database file" when trying to export a fossil repo to git
本文介绍了“无法打开数据库文件"尝试将化石存储库导出到git时的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我得到一个 fossil.exe:[< repo path>]:当我尝试将
Windows上的git. fossil
存储库导出到时,无法打开数据库文件
I'm getting a fossil.exe: [<repo path>]: unable to open database file
when I'm trying to export a fossil
repo to git on Windows.
这是我执行的步骤:
- git init新仓库
- cd new-repo
- fossil.exe导出--git"fossil_repo_path" |git fast-import
推荐答案
我没有弄清楚是什么原因引起的,但是我找到了一种解决方法:
I didn't figure out what was causing the problem, but I found a workaround:
-
git init git-repo
-
cd化石仓库
-
化石导出--git>git.txt
- 将
git.txt
移动到git-repo
-
type/cat git.txt |git fast-import
-
git checkout trunk
- Voilà
这篇关于“无法打开数据库文件"尝试将化石存储库导出到git时的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文