~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

  • Committer: Robert Collins
  • Date: 2006-09-04 08:00:00 UTC
  • mto: (1981.1.1 integration)
  • mto: This revision was merged to the branch mainline in revision 1982.
  • Revision ID: robertc@robertcollins.net-20060904080000-1152da5eed765694
(robertc) 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('..')