~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/store/compressed_text.py

  • Committer: Robert Collins
  • Date: 2005-10-16 14:19:24 UTC
  • mto: This revision was merged to the branch mainline in revision 1459.
  • Revision ID: robertc@lifelesslap.robertcollins.net-20051016141924-8dcbb20f1c03756e
Many transport related tweaks:

- Remove get_partial as it was not used at all.
- Move store._iter_relpaths into transport as iter_files_recursive.
- Nuke ImmutableMemoryStore, replaced with MemoryTransport.
- Remove all direct use of the stat module from store logic.

Show diffs side-by-side

added added

removed removed

Lines of Context:
114
114
        self.register_suffix('gz')
115
115
 
116
116
    def __iter__(self):
117
 
        for relpath, st in self._iter_relpaths():
 
117
        for relpath in self._transport.iter_files_recursive():
118
118
            if relpath.endswith(".gz"):
119
119
                yield os.path.basename(relpath)[:-3]
120
120
            else: