git migration: preserve additional metadata (fixed bugs, revision numbers and multiple authors)
Bug #1695103 reported by
Patrick Storz
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Inkscape |
Fix Released
|
Undecided
|
Patrick Storz |
Bug Description
bzr has some metadata that is not supported by git.
So far I know of:
- bugs fixed by the commit
- revision number
- multiple authors
The attached patch modifies Bazaar's fast-export plugin to include those metadata into the commit message so they won't be lost after the migration to git.
To post a comment you must log in.
There's one downside of this patch: The function "_compute_ revno_str( )" used to query revision numbers is not overly efficient which results in significantly reduced export performance (approx 3 times slower).
If anybody knows a faster approach let me know.
In any case since this will be a one-time conversion I guess this is acceptable given the fact that revision numbers are quite important as many commit messages reference them.