/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/knit.py

  • Committer: Andrew Bennetts
  • Date: 2008-08-07 00:25:38 UTC
  • mfrom: (3612 +trunk)
  • mto: This revision was merged to the branch mainline in revision 3613.
  • Revision ID: andrew.bennetts@canonical.com-20080807002538-mtl1fcgy2fdabha4
Merge from bzr.dev.

Show diffs side-by-side

added added

removed removed

Lines of Context:
698
698
    """Storage for many versioned files using knit compression.
699
699
 
700
700
    Backend storage is managed by indices and data objects.
 
701
 
 
702
    :ivar _index: A _KnitGraphIndex or similar that can describe the 
 
703
        parents, graph, compression and data location of entries in this 
 
704
        KnitVersionedFiles.  Note that this is only the index for 
 
705
        *this* vfs; if there are fallbacks they must be queried separately.
701
706
    """
702
707
 
703
708
    def __init__(self, index, data_access, max_delta_chain=200,
892
897
        for count in xrange(self._max_delta_chain):
893
898
            # XXX: Collapse these two queries:
894
899
            try:
 
900
                # Note that this only looks in the index of this particular
 
901
                # KnitVersionedFiles, not in the fallbacks.  This ensures that
 
902
                # we won't store a delta spanning physical repository
 
903
                # boundaries.
895
904
                method = self._index.get_method(parent)
896
905
            except RevisionNotPresent:
897
906
                # Some basis is not locally present: always delta