Leider ist der Eintrag nur auf English verfügbar.
|
You are using an insecure version of your web browser. Please update your browser!
Using an outdated browser makes your computer unsafe. For a safer, faster, more enjoyable user experience, please update your browser today or try a newer browser.
|
|
Just my personal Dump of Thoughts |
Leider ist der Eintrag nur auf English verfügbar.
Your add and commit lines are not necassery.
Just do:
git init project.git
cd project.git
bzr-fast-export.py –export-marks=.git/bzr.mark ~/project.bzr | git-fast-import –export-marks=.git/git.mark
This schould convert everything
“git checkout master” to get the working copy (what you wanted to achieve, with your git add?)
Now you can incremental import new bzr changes with:
bzr-fast-export.py –import-marks=.git/bzr.mark –export-marks=.git/bzr.mark project.bzr/trunk | git fast-import –import-marks=.git/git.mark –export-marks=.git/git.mark
Hoped that helped
Thanks for this!
@David: your incremental command does not work – it appears bzr.mark and git.mark have not been created at first, and git throws a fatal error when it cannot read the import-marks file.
btw: since it’s a bzr plugin (by now), you should call bzr-fast-export as in “bzr fast-export”.
Sorry, it appears I got the file names wrong.. after a new initial run, I have “bzr.marks” and “git.mark”.
Additionally, “bzr fast-export” supports using one option (“–marks”) for specifying a mark file for import and export.