~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

  • Committer: Aaron Bentley
  • Date: 2007-12-15 04:44:54 UTC
  • mto: This revision was merged to the branch mainline in revision 3132.
  • Revision ID: aaron.bentley@utoronto.ca-20071215044454-43118sh0ptmkfojx
Add warning when merge directives cause cherrypicks

Show diffs side-by-side

added added

removed removed

Lines of Context:
301
301
        target.commit('empty commit')
302
302
        self.write_directive('directive', source.branch, 'target', 'rev2',
303
303
                             'rev1')
304
 
        self.run_bzr('merge -d target directive')
 
304
        out, err = self.run_bzr('merge -d target directive')
305
305
        self.failIfExists('target/a')
306
306
        self.failUnlessExists('target/b')
 
307
        self.assertContainsRe(err, 'Performing cherrypick')
307
308
 
308
309
    def write_directive(self, filename, source, target, revision_id,
309
310
                        base_revision_id=None, mangle_patch=False):