~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

  • Committer: Aaron Bentley
  • Date: 2006-09-22 02:08:10 UTC
  • mto: This revision was merged to the branch mainline in revision 2048.
  • Revision ID: aaron.bentley@utoronto.ca-20060922020810-b21fa5e0fd454f30
Add supports_rich_root member to repository

Show diffs side-by-side

added added

removed removed

Lines of Context:
95
95
        return BundleReader(f).info
96
96
 
97
97
    def check_compatible(self):
98
 
        if self.source._format.rich_root_data:
99
 
            raise errors.IncompatibleFormat('0.8', 
100
 
                self.source._format.get_format_description())
 
98
        if self.source.supports_rich_root():
 
99
            raise errors.IncompatibleFormat('0.8', repr(self.source))
101
100
 
102
101
    def write(self, source, revision_ids, forced_bases, f):
103
102
        """Write the bundless to the supplied files.