/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/bundle/serializer/v08.py

merge bzr.dev

Show diffs side-by-side

added added

removed removed

Lines of Context:
158
158
            if rev_id == last_rev_id:
159
159
                rev_tree = last_rev_tree
160
160
            else:
161
 
                base_tree = self.source.revision_tree(rev_id)
162
 
            rev_tree = self.source.revision_tree(rev_id)
 
161
                rev_tree = self.source.revision_tree(rev_id)
163
162
            if rev_id in self.forced_bases:
164
163
                explicit_base = True
165
164
                base_id = self.forced_bases[rev_id]
317
316
        self.from_file = iter(from_file)
318
317
        self._next_line = None
319
318
        
320
 
        self.info = BundleInfo()
 
319
        self.info = BundleInfo08()
321
320
        # We put the actual inventory ids in the footer, so that the patch
322
321
        # is easier to read for humans.
323
322
        # Unfortunately, that means we need to read everything before we
500
499
                # Consume the trailing \n and stop processing
501
500
                self._next().next()
502
501
                break
 
502
 
 
503
 
 
504
class BundleInfo08(BundleInfo):
 
505
    def _update_tree(self, bundle_tree, revision_id):
 
506
        bundle_tree.note_last_changed('', revision_id)
 
507
        BundleInfo._update_tree(self, bundle_tree, revision_id)