~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/repofmt/knitrepo.py

(jameinel) (bug #780544) when updating the WT,
 allow it to be done with a fast delta,
 rather than setting the state from scratch. (John A Meinel)

Show diffs side-by-side

added added

removed removed

Lines of Context:
16
16
 
17
17
from bzrlib.lazy_import import lazy_import
18
18
lazy_import(globals(), """
19
 
import itertools
20
 
 
21
19
from bzrlib import (
22
20
    bzrdir,
23
21
    errors,
509
507
    @needs_read_lock
510
508
    def search_missing_revision_ids(self,
511
509
            revision_id=symbol_versioning.DEPRECATED_PARAMETER,
512
 
            find_ghosts=True, revision_ids=None, if_present_ids=None,
513
 
            limit=None):
 
510
            find_ghosts=True, revision_ids=None, if_present_ids=None):
514
511
        """See InterRepository.search_missing_revision_ids()."""
515
512
        if symbol_versioning.deprecated_passed(revision_id):
516
513
            symbol_versioning.warn(
545
542
            # that against the revision records.
546
543
            result_set = set(
547
544
                self.source._eliminate_revisions_not_present(required_revisions))
548
 
        if limit is not None:
549
 
            topo_ordered = self.source.get_graph().iter_topo_order(result_set)
550
 
            result_set = set(itertools.islice(topo_ordered, limit))
551
545
        return self.source.revision_ids_to_search_result(result_set)
552
546
 
553
547