~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/repofmt/knitrepo.py

  • Committer: Patch Queue Manager
  • Date: 2012-03-08 19:00:04 UTC
  • mfrom: (6468.5.3 expand-default-true)
  • Revision ID: pqm@pqm.ubuntu.com-20120308190004-lcbg2t0ksaydkot2
(vila) This turns config option expansion on by default. (Vincent Ladeuil)

Show diffs side-by-side

added added

removed removed

Lines of Context:
488
488
 
489
489
    @needs_read_lock
490
490
    def search_missing_revision_ids(self,
 
491
            revision_id=symbol_versioning.DEPRECATED_PARAMETER,
491
492
            find_ghosts=True, revision_ids=None, if_present_ids=None,
492
493
            limit=None):
493
494
        """See InterRepository.search_missing_revision_ids()."""
 
495
        if symbol_versioning.deprecated_passed(revision_id):
 
496
            symbol_versioning.warn(
 
497
                'search_missing_revision_ids(revision_id=...) was '
 
498
                'deprecated in 2.4.  Use revision_ids=[...] instead.',
 
499
                DeprecationWarning, stacklevel=2)
 
500
            if revision_ids is not None:
 
501
                raise AssertionError(
 
502
                    'revision_ids is mutually exclusive with revision_id')
 
503
            if revision_id is not None:
 
504
                revision_ids = [revision_id]
 
505
        del revision_id
494
506
        source_ids_set = self._present_source_revisions_for(
495
507
            revision_ids, if_present_ids)
496
508
        # source_ids is the worst possible case we may need to pull.