~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/repository.py

  • Committer: Andrew Bennetts
  • Date: 2007-10-11 07:01:04 UTC
  • mto: This revision was merged to the branch mainline in revision 2905.
  • Revision ID: andrew.bennetts@canonical.com-20071011070104-9rfs3gv9zknm09i8
Some improvements suggested by Martin's review.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1453
1453
        return graph.Graph(parents_provider)
1454
1454
 
1455
1455
    def get_versioned_file_checker(self, revisions, revision_versions_cache):
1456
 
        return WeaveChecker(revisions, revision_versions_cache, self)
 
1456
        return VersionedFileChecker(revisions, revision_versions_cache, self)
1457
1457
 
1458
1458
    @needs_write_lock
1459
1459
    def set_make_working_trees(self, new_value):
2450
2450
 
2451
2451
 
2452
2452
class _RevisionTextVersionCache(object):
2453
 
    """A cache of the versionedfile versions for revision and file-id"""
 
2453
    """A cache of the versionedfile versions for revision and file-id."""
2454
2454
 
2455
2455
    def __init__(self, repository):
2456
2456
        self.repository = repository
2474
2474
        return inv_revisions.get(file_id)
2475
2475
 
2476
2476
 
2477
 
class WeaveChecker(object):
 
2477
class VersionedFileChecker(object):
2478
2478
 
2479
2479
    def __init__(self, planned_revisions, revision_versions, repository):
2480
2480
        self.planned_revisions = planned_revisions