~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/bundle/serializer/v08.py

  • Committer: Andrew Bennetts
  • Date: 2006-08-16 04:36:11 UTC
  • mfrom: (1927 +trunk)
  • mto: (1910.4.8 test-tweaks)
  • mto: This revision was merged to the branch mainline in revision 1936.
  • Revision ID: andrew.bennetts@canonical.com-20060816043611-7818a1909ab84498
Merge from bzr.dev

Show diffs side-by-side

added added

removed removed

Lines of Context:
317
317
        self.from_file = iter(from_file)
318
318
        self._next_line = None
319
319
        
320
 
        self.info = BundleInfo()
 
320
        self.info = BundleInfo08()
321
321
        # We put the actual inventory ids in the footer, so that the patch
322
322
        # is easier to read for humans.
323
323
        # Unfortunately, that means we need to read everything before we
500
500
                # Consume the trailing \n and stop processing
501
501
                self._next().next()
502
502
                break
 
503
 
 
504
 
 
505
class BundleInfo08(BundleInfo):
 
506
    def _update_tree(self, bundle_tree, revision_id):
 
507
        bundle_tree.note_last_changed('', revision_id)
 
508
        BundleInfo._update_tree(self, bundle_tree, revision_id)