/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

  • Committer: Parth Malwankar
  • Date: 2010-03-17 05:36:11 UTC
  • mfrom: (5091 +trunk)
  • mto: This revision was merged to the branch mainline in revision 5092.
  • Revision ID: parth.malwankar@gmail.com-20100317053611-xpmn8gili6j191in
merged in trunk. fixed blackbox.test_upgrade to use backup.bzr.~N~ convention.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1207
1207
        count = self._iterate_over(relpaths, gather, pb, 'stat', expand=False)
1208
1208
        return stats
1209
1209
 
 
1210
    def readlink(self, relpath):
 
1211
        """Return a string representing the path to which the symbolic link points."""
 
1212
        raise errors.TransportNotPossible("Dereferencing symlinks is not supported on %s" % self)
 
1213
 
 
1214
    def hardlink(self, source, link_name):
 
1215
        """Create a hardlink pointing to source named link_name."""
 
1216
        raise errors.TransportNotPossible("Hard links are not supported on %s" % self)
 
1217
 
 
1218
    def symlink(self, source, link_name):
 
1219
        """Create a symlink pointing to source named link_name."""
 
1220
        raise errors.TransportNotPossible("Symlinks are not supported on %s" % self)
 
1221
 
1210
1222
    def listable(self):
1211
1223
        """Return True if this store supports listing."""
1212
1224
        raise NotImplementedError(self.listable)
1836
1848
 
1837
1849
 
1838
1850
transport_server_registry = registry.Registry()
1839
 
transport_server_registry.register_lazy('bzr', 'bzrlib.smart.server', 
 
1851
transport_server_registry.register_lazy('bzr', 'bzrlib.smart.server',
1840
1852
    'serve_bzr', help="The Bazaar smart server protocol over TCP. (default port: 4155)")
1841
1853
transport_server_registry.default_key = 'bzr'