~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/remote.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2009-08-06 02:23:37 UTC
  • mfrom: (4332.3.36 check)
  • Revision ID: pqm@pqm.ubuntu.com-20090806022337-7c2oni07fsjq6gun
(robertc) Partial overhaul of check to do less duplicate work.
        (Robert Collins)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1470
1470
        return self._real_repository.get_revision_reconcile(revision_id)
1471
1471
 
1472
1472
    @needs_read_lock
1473
 
    def check(self, revision_ids=None):
 
1473
    def check(self, revision_ids=None, callback_refs=None, check_repo=True):
1474
1474
        self._ensure_real()
1475
 
        return self._real_repository.check(revision_ids=revision_ids)
 
1475
        return self._real_repository.check(revision_ids=revision_ids,
 
1476
            callback_refs=callback_refs, check_repo=check_repo)
1476
1477
 
1477
1478
    def copy_content_into(self, destination, revision_id=None):
1478
1479
        self._ensure_real()
1618
1619
        self._ensure_real()
1619
1620
        return self._real_repository.revision_graph_can_have_wrong_parents()
1620
1621
 
1621
 
    def _find_inconsistent_revision_parents(self):
 
1622
    def _find_inconsistent_revision_parents(self, revisions_iterator=None):
1622
1623
        self._ensure_real()
1623
 
        return self._real_repository._find_inconsistent_revision_parents()
 
1624
        return self._real_repository._find_inconsistent_revision_parents(
 
1625
            revisions_iterator)
1624
1626
 
1625
1627
    def _check_for_inconsistent_revision_parents(self):
1626
1628
        self._ensure_real()