~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2006-09-04 08:44:08 UTC
  • mfrom: (1981.1.1 integration)
  • Revision ID: pqm@pqm.ubuntu.com-20060904084408-ebdbb37a1cdb0c53
(robertc) integrate merge_from_branch patch: adds a convenience method "merge_from_branch" to WorkingTree.

Show diffs side-by-side

added added

removed removed

Lines of Context:
187
187
            other_tree.commit('modify all sample files and dirs.')
188
188
        finally:
189
189
            other_tree.unlock()
190
 
        self.merge(other_tree.branch, this_tree)
 
190
        this_tree.merge_from_branch(other_tree.branch)
191
191
        os.chdir('this')
192
192
        out,err = self.run_bzr("commit", "-m", "added")
193
193
        os.chdir('..')