问题
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:
- git init new-repo
- cd new-repo
- 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:
git init git-repocd fossil-repofossil export --git > git.txt- Move
git.txttogit-repo type/cat git.txt | git fast-importgit checkout trunk- Voilà
来源:https://stackoverflow.com/questions/29158099/unable-to-open-database-file-when-trying-to-export-a-fossil-repo-to-git