~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: 2011-05-20 13:28:35 UTC
  • mfrom: (5852.1.11 fetch-limit)
  • Revision ID: pqm@pqm.ubuntu.com-20110520132835-3rf01eu5mbkz3zos
(jelmer) Add limit argument to Branch.fetch(). (Jelmer Vernooij)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1606
1606
    @needs_read_lock
1607
1607
    def search_missing_revision_ids(self, other,
1608
1608
            revision_id=symbol_versioning.DEPRECATED_PARAMETER,
1609
 
            find_ghosts=True, revision_ids=None, if_present_ids=None):
 
1609
            find_ghosts=True, revision_ids=None, if_present_ids=None,
 
1610
            limit=None):
1610
1611
        """Return the revision ids that other has that this does not.
1611
1612
 
1612
1613
        These are returned in topological order.
1626
1627
        inter_repo = _mod_repository.InterRepository.get(other, self)
1627
1628
        return inter_repo.search_missing_revision_ids(
1628
1629
            find_ghosts=find_ghosts, revision_ids=revision_ids,
1629
 
            if_present_ids=if_present_ids)
 
1630
            if_present_ids=if_present_ids, limit=limit)
1630
1631
 
1631
1632
    def fetch(self, source, revision_id=None, find_ghosts=False,
1632
1633
            fetch_spec=None):