/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/transport/__init__.py

Merge bzr.dev.

Show diffs side-by-side

added added

removed removed

Lines of Context:
446
446
    def get_smart_client(self):
447
447
        """Return a smart client for this transport if possible.
448
448
 
 
449
        A smart client doesn't imply the presence of a smart server: it implies
 
450
        that the smart protocol can be tunnelled via this transport.
 
451
 
449
452
        :raises NoSmartServer: if no smart server client is available.
450
453
        """
451
454
        raise errors.NoSmartServer(self.base)
452
455
 
 
456
    def get_smart_medium(self):
 
457
        """Return a smart client medium for this transport if possible.
 
458
 
 
459
        A smart medium doesn't imply the presence of a smart server: it implies
 
460
        that the smart protocol can be tunnelled via this transport.
 
461
 
 
462
        :raises NoSmartMedium: if no smart server medium is available.
 
463
        """
 
464
        raise errors.NoSmartMedium(self)
 
465
 
453
466
    def readv(self, relpath, offsets):
454
467
        """Get parts of the file at the given relative path.
455
468