~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/store/__init__.py

  • Committer: Aaron Bentley
  • Date: 2005-10-24 15:56:15 UTC
  • mfrom: (1185.16.99)
  • mto: (1185.25.1)
  • mto: This revision was merged to the branch mainline in revision 1488.
  • Revision ID: abentley@panoramicfeedback.com-20051024155615-6af1ed78ba9e4f9f
Merge from mpool

Show diffs side-by-side

added added

removed removed

Lines of Context:
26
26
 
27
27
import os
28
28
from cStringIO import StringIO
 
29
import urllib
29
30
from zlib import adler32
30
31
 
31
32
import bzrlib
206
207
        # RBC 20051017 - TODO SOON, separate them again.
207
208
        self._suffixes = set()
208
209
 
 
210
    def _iter_files_recursive(self):
 
211
        """Iterate through the files in the transport."""
 
212
        for quoted_relpath in self._transport.iter_files_recursive():
 
213
            yield urllib.unquote(quoted_relpath)
 
214
 
209
215
    def __iter__(self):
210
 
        for relpath in self._transport.iter_files_recursive():
 
216
        for relpath in self._iter_files_recursive():
211
217
            # worst case is one of each suffix.
212
218
            name = os.path.basename(relpath)
213
219
            if name.endswith('.gz'):