~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/versionedfile.py

  • Committer: Martin Pool
  • Date: 2011-02-14 02:37:04 UTC
  • mto: This revision was merged to the branch mainline in revision 5663.
  • Revision ID: mbp@canonical.com-20110214023704-zo532z3kb7y29aym
Rename to _immediate_fallback_vfs

Show diffs side-by-side

added added

removed removed

Lines of Context:
928
928
    The use of tuples allows a single code base to support several different
929
929
    uses with only the mapping logic changing from instance to instance.
930
930
 
931
 
    :ivar _immediate_fallbacks: For subclasses that support stacking,
 
931
    :ivar _immediate_fallback_vfs: For subclasses that support stacking,
932
932
        this is a list of other VersionedFiles immediately underneath this
933
933
        one.  They may in turn each have further fallbacks.
934
934
    """
1202
1202
        at open time because they may change after the objects are opened.
1203
1203
        """
1204
1204
        all_fallbacks = []
1205
 
        for a_vfs in self._immediate_fallbacks:
 
1205
        for a_vfs in self._immediate_fallback_vfs:
1206
1206
            all_fallbacks.append(a_vfs)
1207
1207
            all_fallbacks.extend(a_vfs._transitive_fallbacks())
1208
1208
        return all_fallbacks