/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_interbranch/test_push.py

  • Committer: Jelmer Vernooij
  • Date: 2020-07-18 23:14:00 UTC
  • mfrom: (7490.40.62 work)
  • mto: This revision was merged to the branch mainline in revision 7519.
  • Revision ID: jelmer@jelmer.uk-20200718231400-jaes9qltn8oi8xss
Merge lp:brz/3.1.

Show diffs side-by-side

added added

removed removed

Lines of Context:
37
37
    )
38
38
from ...branch import Branch
39
39
from ...controldir import ControlDir
40
 
from ...memorytree import MemoryTree
41
40
from ...revision import NULL_REVISION
42
41
from ...bzr.smart.repository import SmartServerRepositoryGetParentMap
43
42
from . import (
470
469
        rev1 = target.commit('rev 1')
471
470
        target.unlock()
472
471
        sourcedir = target.branch.controldir.clone(self.get_url('source'))
473
 
        source = MemoryTree.create_on_branch(sourcedir.open_branch())
 
472
        source = sourcedir.open_branch().create_memorytree()
474
473
        rev2 = source.commit('rev 2')
475
474
        Branch.hooks.install_named_hook('post_push',
476
475
                                        self.capture_post_push_hook, None)