/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_push.py

  • Committer: Jelmer Vernooij
  • Date: 2020-06-30 02:53:46 UTC
  • mfrom: (7490.40.40 work)
  • mto: (7490.40.48 work)
  • mto: This revision was merged to the branch mainline in revision 7519.
  • Revision ID: jelmer@jelmer.uk-20200630025346-8ubb2cidum1g2h88
Merge lp:brz/3.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
24
24
    controldir,
25
25
    check,
26
26
    errors,
27
 
    memorytree,
28
27
    push,
29
28
    revision,
30
29
    tests,
375
374
        rev1 = target.commit('rev 1')
376
375
        target.unlock()
377
376
        sourcedir = target.controldir.clone(self.get_url('source'))
378
 
        source = memorytree.MemoryTree.create_on_branch(
379
 
            sourcedir.open_branch())
 
377
        source = sourcedir.open_branch().create_memorytree()
380
378
        rev2 = source.commit('rev 2')
381
379
        branch.Branch.hooks.install_named_hook(
382
380
            'post_push', self.capture_post_push_hook, None)