/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 bzrlib/tests/blackbox/test_dpush.py

  • Committer: Jelmer Vernooij
  • Date: 2009-05-09 16:53:46 UTC
  • mto: This revision was merged to the branch mainline in revision 4363.
  • Revision ID: jelmer@samba.org-20090509165346-rt96a2xxa0r2qpfu
Move dpush onto an InterBranch object.

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
 
23
23
from bzrlib.branch import (
24
24
    Branch,
 
25
    InterBranch,
25
26
    )
26
27
from bzrlib.bzrdir import (
27
28
    BzrDirFormat,
38
39
    )
39
40
from bzrlib.tests.test_foreign import (
40
41
    DummyForeignVcsDirFormat,
 
42
    InterToDummyVcsBranch,
41
43
    )
42
44
 
43
45
 
45
47
 
46
48
    def setUp(self):
47
49
        BzrDirFormat.register_control_format(DummyForeignVcsDirFormat)
 
50
        InterBranch.register_optimiser(InterToDummyVcsBranch)
48
51
        self.addCleanup(self.unregister_format)
49
52
        super(TestDpush, self).setUp()
50
53