~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

Commit final test-case-cleanups branch.

Show diffs side-by-side

added added

removed removed

Lines of Context:
101
101
        source = self.make_branch_and_tree('source')
102
102
        target = self.make_branch('target')
103
103
 
104
 
        self.build_tree(['a'], transport=source.bzrdir.root_transport)
 
104
        self.build_tree(['source/a'])
105
105
        source.add(['a'])
106
106
        source.commit('a')
107
107
 
133
133
        try:
134
134
            tree = a_branch.bzrdir.create_workingtree()
135
135
        except errors.NotLocalUrl:
136
 
            tree = a_branch.create_checkout('checkout', lightweight=True)
137
 
        self.build_tree(['a'], transport=tree.bzrdir.root_transport)
 
136
            tree = a_branch.create_checkout('repo/tree', lightweight=True)
 
137
        self.build_tree(['repo/tree/a'])
138
138
        tree.add(['a'])
139
139
        tree.commit('a')
140
140