~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/repository.py

  • Committer: Andrew Bennetts
  • Date: 2009-06-10 10:45:45 UTC
  • mto: This revision was merged to the branch mainline in revision 4446.
  • Revision ID: andrew.bennetts@canonical.com-20090610104545-idppwhjfv7iiz1f4
Add Repository.get_rev_id_for_revno RPC, removes VFS calls from 'pull -r 123' case.

Show diffs side-by-side

added added

removed removed

Lines of Context:
4427
4427
    :param stop_revision: The revision id which should be present.  When
4428
4428
        it is encountered, history extension will stop.
4429
4429
    """
4430
 
    mutter('partial_history_cache: %r', partial_history_cache)
4431
 
    mutter('stop_index: %d', stop_index)
4432
4430
    start_revision = partial_history_cache[-1]
4433
4431
    iterator = repo.iter_reverse_revision_history(start_revision)
4434
4432
    try: