~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/transport/__init__.py

  • Committer: Robert Collins
  • Date: 2005-10-04 04:37:29 UTC
  • mto: This revision was merged to the branch mainline in revision 1401.
  • Revision ID: robertc@robertcollins.net-20051004043729-562c506f88535c26
implement a basic test for the ui branch command from http servers

Show diffs side-by-side

added added

removed removed

Lines of Context:
315
315
        count = self._iterate_over(relpaths, gather, pb, 'stat', expand=False)
316
316
        return stats
317
317
 
 
318
    def listable(self):
 
319
        """Return True if this store supports listing."""
 
320
        raise NotImplementedError
318
321
 
319
322
    def list_dir(self, relpath):
320
323
        """Return a list of all files at the given location.
321
324
        WARNING: many transports do not support this, so trying avoid using
322
325
        it if at all possible.
323
326
        """
324
 
        raise NotImplementedError
 
327
        raise TransportNotPossible("This transport has not "
 
328
                                   "implemented list_dir.")
325
329
 
326
330
    def lock_read(self, relpath):
327
331
        """Lock the given file for shared (read) access.