Upgrade from knit to pack fails on revision not present
Bug #261339 reported by
Matthew Fuller
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Fix Released
|
Critical
|
John A Meinel |
Bug Description
I have a knit branch, trying to upgrade to packs with 1.6 or bzr.dev. Check succeeds. Upgrade fails, across several repositories and systems, on
bzr: ERROR: Revision {('<email address hidden>',)} not present in "<bzrlib.
Log, diff, and other operations succeed on that rev.
Robert to comment.
Related branches
lp:~jameinel/bzr/bug_261339
(Merged)
Changed in bzr: | |
status: | Confirmed → Fix Released |
To post a comment you must log in.
Whats happening is that the knit repo has a revision that is in delta format.
So we go to insert the revision to the pack, lookup a delta->ft adapter, and then try to adapt, but the revisions parent text is not available, and so we get an error raised about the parent revision not being present in the pack repo.
Possible fixes;
- ask for full texts when fetching revisions.
- ask for toplogical order of revisions eventhough packs don't need that
- ask for the fullback in the source vf (doesn't play well with networks)