~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/remote.py

  • Committer: John Arbash Meinel
  • Date: 2011-05-26 08:05:45 UTC
  • mfrom: (5916 +trunk)
  • mto: This revision was merged to the branch mainline in revision 5917.
  • Revision ID: john@arbash-meinel.com-20110526080545-5tprxfczyj4bfk0o
Merge bzr.dev 5916 and make sure the right patch is applied.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1081
1081
    def find_text_key_references(self):
1082
1082
        """Find the text key references within the repository.
1083
1083
 
1084
 
        :return: a dictionary mapping (file_id, revision_id) tuples to altered file-ids to an iterable of
1085
 
        revision_ids. Each altered file-ids has the exact revision_ids that
1086
 
        altered it listed explicitly.
1087
1084
        :return: A dictionary mapping text keys ((fileid, revision_id) tuples)
1088
1085
            to whether they were referred to by the inventory of the
1089
1086
            revision_id that they contain. The inventory texts from all present
1609
1606
    @needs_read_lock
1610
1607
    def search_missing_revision_ids(self, other,
1611
1608
            revision_id=symbol_versioning.DEPRECATED_PARAMETER,
1612
 
            find_ghosts=True, revision_ids=None, if_present_ids=None):
 
1609
            find_ghosts=True, revision_ids=None, if_present_ids=None,
 
1610
            limit=None):
1613
1611
        """Return the revision ids that other has that this does not.
1614
1612
 
1615
1613
        These are returned in topological order.
1629
1627
        inter_repo = _mod_repository.InterRepository.get(other, self)
1630
1628
        return inter_repo.search_missing_revision_ids(
1631
1629
            find_ghosts=find_ghosts, revision_ids=revision_ids,
1632
 
            if_present_ids=if_present_ids)
 
1630
            if_present_ids=if_present_ids, limit=limit)
1633
1631
 
1634
1632
    def fetch(self, source, revision_id=None, find_ghosts=False,
1635
1633
            fetch_spec=None):