Repo format conversion strategy?
Doug Lee
dgl at dlee.org
Tue Dec 23 19:54:50 UTC 2025
Update on my repo conversion problems:
For the below push operations, I am using brz 3.3.17 and Python 3.13.3.
I have converted over 200 brz/bzr workspaces to Git successfully using the remote-vzr approach (fastimport very often died with missing-file errors). I have three or four repos so far that refuse to cooperate though.
Using "bzr push --lossy" does successfully create a Git repo, but "git fsck" fails with messages like this:
broken link from tree d9bdc6dfd71df839730aee3cfea2dd9d28a8943e
to tree dc9fca88268e3cd15cdec53564a33d288c17a173
dangling tree 4b825dc642cb6eb9a060e54bf8d69288fbee4904
missing tree dc9fca88268e3cd15cdec53564a33d288c17a173
I also still see no tags in the Git repo.
Unfortunately these are not public repos, but I wonder if there is anything I can do to either rescue them or help brz address the issues I'm seeing.
On Thu, Nov 06, 2025 at 06:39:19AM -0500, Doug Lee wrote:
On Thu, Nov 06, 2025 at 02:05:03AM +0000, Jelmer Vernooij wrote:
On Wed, Nov 05, 2025 at 01:34:47PM -0500, Doug Lee wrote:
>> I've experimented with converting from .bzr to .git format for some of my projects, but encountered these roadblocks:
>>
>> * The fastexport | fastimport techniques fail with file reference errors.
>> * Modifying that to use marks (an AI suggestion) taught me that Git can't read a brz marks file (without massaging that I didn't do, perhaps).
>> * reposurgeon fails with a reference error to what looks like a branch or folder name.
>
>> * brz push --lossy to a git inited repo works but sends over zero of my tags.
>
>This should be fixed in the latest versions of Breezy; 3.3.11 is too old.
Ah, got me! Ubuntu has not updated that package but I forgot to look for updates outside of apt.
--
Doug Lee dgl at dlee.org http://www.dlee.org
"Our chief want in life is somebody who will make us do what
we can. {Ralph Waldo Emerson}
--
Doug Lee dgl at dlee.org http://www.dlee.org
A mailing list is like a car where brakes and accelerator are the same pedal:
The effect of putting your foot down is a bit hard to predict! (04/04/2012)
More information about the bazaar
mailing list