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