/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/check.py

merge bzr.dev rev 4098

Show diffs side-by-side

added added

removed removed

Lines of Context:
173
173
 
174
174
        for parent in rev.parent_ids:
175
175
            if not parent in self.planned_revisions:
 
176
                # rev has a parent we didn't know about.
176
177
                missing_links = self.missing_parent_links.get(parent, [])
177
178
                missing_links.append(rev_id)
178
179
                self.missing_parent_links[parent] = missing_links
188
189
                    self.ghosts.append(rev_id)
189
190
 
190
191
        if rev.inventory_sha1:
 
192
            # Loopback - this is currently circular logic as the
 
193
            # knit get_inventory_sha1 call returns rev.inventory_sha1.
 
194
            # Repository.py's get_inventory_sha1 should instead return
 
195
            # inventories.get_record_stream([(revid,)]).next().sha1 or
 
196
            # similar.
191
197
            inv_sha1 = self.repository.get_inventory_sha1(rev_id)
192
198
            if inv_sha1 != rev.inventory_sha1:
193
199
                raise BzrCheckError('Inventory sha1 hash doesn\'t match'