/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to breezy/tests/per_repository_reference/test_graph.py

  • Committer: Jelmer Vernooij
  • Date: 2019-03-04 00:16:27 UTC
  • mfrom: (7293 work)
  • mto: This revision was merged to the branch mainline in revision 7318.
  • Revision ID: jelmer@jelmer.uk-20190304001627-v6u7o6pf97tukhek
Merge trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
101
101
        self.addCleanup(target_b.lock_write().unlock)
102
102
        self.setup_smart_server_with_call_log()
103
103
        res = target_b.repository.search_missing_revision_ids(
104
 
                stacked_b.repository, revision_ids=[b'F'],
105
 
                find_ghosts=False)
 
104
            stacked_b.repository, revision_ids=[b'F'],
 
105
            find_ghosts=False)
106
106
        self.assertParentMapCalls([
107
107
            # One call to stacked to start, which returns F=>E, and that E
108
108
            # itself is missing, so when we step, we won't look for it.
112
112
            (b'extra/master/', [b'E']),
113
113
            # And then one get_parent_map call to the target, to see if it
114
114
            # already has any of these revisions.
115
 
            (b'extra/target_repo/branch/', [b'A', b'B', b'C', b'D', b'E', b'F']),
 
115
            (b'extra/target_repo/branch/',
 
116
             [b'A', b'B', b'C', b'D', b'E', b'F']),
116
117
            ])
117
118
        # Before bug #388269 was fixed, there would be a bunch of extra calls
118
119
        # to 'extra/stacked', ['D'] then ['C'], then ['B'], then ['A'].