“Unable to open database file” when trying to export a fossil repo to git

此生再无相见时 提交于 2020-01-16 04:38:24

问题


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.

Here's the steps I made:

  1. git init new-repo
  2. cd new-repo
  3. fossil.exe export --git "fossil_repo_path" | git fast-import

回答1:


I didn't figure out what was causing the problem, but I found a workaround:

  1. git init git-repo
  2. cd fossil-repo
  3. fossil export --git > git.txt
  4. Move git.txt to git-repo
  5. type/cat git.txt | git fast-import
  6. git checkout trunk
  7. Voilà


来源:https://stackoverflow.com/questions/29158099/unable-to-open-database-file-when-trying-to-export-a-fossil-repo-to-git

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!