/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/v4.py

  • Committer: Aaron Bentley
  • Date: 2007-06-28 20:41:30 UTC
  • mto: (2520.5.2 bzr.mpbundle)
  • mto: This revision was merged to the branch mainline in revision 2631.
  • Revision ID: abentley@panoramicfeedback.com-20070628204130-96m1onr66tdxovgt
Avoid peeking at Repository._serializer

Show diffs side-by-side

added added

removed removed

Lines of Context:
189
189
        return self.revision_ids
190
190
 
191
191
    def write_info(self):
192
 
        serializer_name = self.repository._serializer.format_num
 
192
        serializer_format = self.repository.get_serializer_format()
193
193
        supports_rich_root = {True: 1, False: 0}[
194
194
            self.repository.supports_rich_root()]
195
 
        self.bundle.add_info_record(serializer=serializer_name,
 
195
        self.bundle.add_info_record(serializer=serializer_format,
196
196
                                    supports_rich_root=supports_rich_root)
197
197
 
198
198
    def iter_file_revisions(self):