~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/groupcompress.py

  • Committer: Andrew Bennetts
  • Date: 2011-05-04 02:34:05 UTC
  • mto: This revision was merged to the branch mainline in revision 5839.
  • Revision ID: andrew.bennetts@canonical.com-20110504023405-2o1o97b5d759db9b
Be a little more clever about constructing a parents provider for stacked repositories, so that get_parent_map with local-stacked-on-remote doesn't use HPSS VFS calls.

Show diffs side-by-side

added added

removed removed

Lines of Context:
48
48
    AbsentContentFactory,
49
49
    ChunkedContentFactory,
50
50
    FulltextContentFactory,
51
 
    VersionedFiles,
 
51
    VersionedFilesWithFallbacks,
52
52
    )
53
53
 
54
54
# Minimum number of uncompressed bytes to try fetch at once when retrieving
1174
1174
        self.total_bytes = 0
1175
1175
 
1176
1176
 
1177
 
class GroupCompressVersionedFiles(VersionedFiles):
 
1177
class GroupCompressVersionedFiles(VersionedFilesWithFallbacks):
1178
1178
    """A group-compress based VersionedFiles implementation."""
1179
1179
 
1180
1180
    def __init__(self, index, access, delta=True, _unadded_refs=None):