~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/per_repository_vf/test_fetch.py

  • Committer: Jelmer Vernooij
  • Date: 2012-02-20 12:19:29 UTC
  • mfrom: (6437.23.11 2.5)
  • mto: (6581.1.1 trunk)
  • mto: This revision was merged to the branch mainline in revision 6582.
  • Revision ID: jelmer@samba.org-20120220121929-7ni2psvjoatm1yp4
Merge bzr/2.5.

Show diffs side-by-side

added added

removed removed

Lines of Context:
17
17
"""Tests for fetch between repositories of the same type."""
18
18
 
19
19
from bzrlib import (
20
 
    graph,
 
20
    vf_search,
21
21
    )
22
22
from bzrlib.tests.per_repository_vf import (
23
23
    TestCaseWithRepository,
49
49
        self.addCleanup(b.unlock)
50
50
        repo = b.repository
51
51
        source = repo._get_source(repo._format)
52
 
        search = graph.PendingAncestryResult(['tip'], repo)
 
52
        search = vf_search.PendingAncestryResult(['tip'], repo)
53
53
        stream = source.get_stream(search)
54
54
        for substream_type, substream in stream:
55
55
            for record in substream: