“Unable to open database file” when trying to expo

2019-08-06 22:45发布

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条回答
放荡不羁爱自由
2楼-- · 2019-08-06 23:10

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à
查看更多
登录 后发表回答