commit_write_group should ensure inventories and their chk roots are present for new revisions.

Bug #423506 reported by Andrew Bennetts
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Bazaar
Fix Released
Critical
Robert Collins

Bug Description

This is part of bug 406687.

We should prevent revisions without inventories from being committed to a repository. Similarly if any of those inventories (and any of their present parents) lack their chk_bytes root records then the inventory is incomplete and again commit_write_group should fail.

The linked branch makes this change (for 2a, non-chk pack repositories already have an equivalent check, the missing parent inventories check).

Related branches

Changed in bzr:
milestone: 2.0 → 2.0rc2
Revision history for this message
Martin Pool (mbp) wrote :

Can't be reviewed at the moment because of an lp bug 424136.

Still needs review.

Changed in bzr:
status: Fix Committed → Fix Released
Christian Reis (kiko)
Changed in bzr:
assignee: nobody → Robert Collins (lifeless)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.