~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

  • Committer: John Arbash Meinel
  • Date: 2009-07-24 18:26:21 UTC
  • mfrom: (4567 +trunk)
  • mto: This revision was merged to the branch mainline in revision 4568.
  • Revision ID: john@arbash-meinel.com-20090724182621-68s2jhoqf3pn72n7
Merge bzr.dev 4567 to resolve NEWS

Show diffs side-by-side

added added

removed removed

Lines of Context:
582
582
        self.addCleanup(this_tree.unlock)
583
583
        self.assertEqual([],
584
584
                         list(this_tree.iter_changes(this_tree.basis_tree())))
 
585
 
 
586
    def test_merge_missing_second_revision_spec(self):
 
587
        """Merge uses branch basis when the second revision is unspecified."""
 
588
        this = self.make_branch_and_tree('this')
 
589
        this.commit('rev1')
 
590
        other = self.make_branch_and_tree('other')
 
591
        self.build_tree(['other/other_file'])
 
592
        other.add('other_file')
 
593
        other.commit('rev1b')
 
594
        self.run_bzr('merge -d this other -r0..')
 
595
        self.failUnlessExists('this/other_file')