~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/remote.py

  • Committer: John Arbash Meinel
  • Date: 2009-08-18 14:49:52 UTC
  • mfrom: (4624 +trunk)
  • mto: This revision was merged to the branch mainline in revision 4629.
  • Revision ID: john@arbash-meinel.com-20090818144952-mk2cy45ax9twl3lm
Merge bzr.dev 4624 in preparation for NEWS

Show diffs side-by-side

added added

removed removed

Lines of Context:
566
566
    def __eq__(self, other):
567
567
        return self.__class__ is other.__class__
568
568
 
569
 
    def check_conversion_target(self, target_format):
570
 
        if self.rich_root_data and not target_format.rich_root_data:
571
 
            raise errors.BadConversionTarget(
572
 
                'Does not support rich root data.', target_format,
573
 
                from_format=self)
574
 
        if (self.supports_tree_reference and
575
 
            not getattr(target_format, 'supports_tree_reference', False)):
576
 
            raise errors.BadConversionTarget(
577
 
                'Does not support nested trees', target_format,
578
 
                from_format=self)
579
 
 
580
569
    def network_name(self):
581
570
        if self._network_name:
582
571
            return self._network_name