~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/blackbox/test_push.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2006-04-19 08:31:08 UTC
  • mfrom: (1666.1.5 integration)
  • Revision ID: pqm@pqm.ubuntu.com-20060419083108-fab2970f4575b010
Change the default branch format to be metadir. (Robert Collins, Aaron Bentley).

Show diffs side-by-side

added added

removed removed

Lines of Context:
37
37
        self.build_tree(['branch_a/a'])
38
38
        tree_a.add('a')
39
39
        tree_a.commit('commit a')
40
 
        branch_b = branch_a.bzrdir.sprout('branch_b').open_branch()
41
 
        tree_b = branch_b.bzrdir.open_workingtree()
42
 
        branch_c = branch_a.bzrdir.sprout('branch_c').open_branch()
43
 
        tree_c = branch_c.bzrdir.open_workingtree()
 
40
        tree_b = branch_a.bzrdir.sprout('branch_b').open_workingtree()
 
41
        branch_b = tree_b.branch
 
42
        tree_c = branch_a.bzrdir.sprout('branch_c').open_workingtree()
 
43
        branch_c = tree_c.branch
44
44
        self.build_tree(['branch_a/b'])
45
45
        tree_a.add('b')
46
46
        tree_a.commit('commit b')