/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_branch/test_pull.py

  • Committer: Breezy landing bot
  • Author(s): Jelmer Vernooij
  • Date: 2020-07-20 02:17:05 UTC
  • mfrom: (7518.1.2 merge-3.1)
  • Revision ID: breezy.the.bot@gmail.com-20200720021705-5f11tmo1hdqjxm6x
Merge lp:brz/3.1.

Merged from https://code.launchpad.net/~jelmer/brz/merge-3.1/+merge/387628

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
    branch,
21
21
    controldir,
22
22
    errors,
23
 
    memorytree,
24
23
    revision,
25
24
    )
26
25
from breezy.tests import (
322
321
        rev1 = target.commit('rev 1')
323
322
        target.unlock()
324
323
        sourcedir = target.controldir.clone(self.get_url('source'))
325
 
        source = memorytree.MemoryTree.create_on_branch(
326
 
            sourcedir.open_branch())
 
324
        source = sourcedir.open_branch().create_memorytree()
327
325
        rev2 = source.commit('rev 2')
328
326
        branch.Branch.hooks.install_named_hook(
329
327
            'post_pull', self.capture_post_pull_hook, None)