~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/merge.py

  • Committer: Robert Collins
  • Date: 2007-03-21 01:34:41 UTC
  • mto: (2376.1.1 integration)
  • mto: This revision was merged to the branch mainline in revision 2377.
  • Revision ID: robertc@robertcollins.net-20070321013441-x99h538fq62wwt46
Remove bzrlib 0.8 compatability where it was making the code unclear or messy. (Robert Collins)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1013
1013
                     branch.get_revision_tree(base_revision))'
1014
1014
        """
1015
1015
    if this_tree is None:
1016
 
        warnings.warn("bzrlib.merge.merge_inner requires a this_tree parameter as of "
1017
 
             "bzrlib version 0.8.",
1018
 
             DeprecationWarning,
1019
 
             stacklevel=2)
1020
 
        this_tree = this_branch.bzrdir.open_workingtree()
 
1016
        raise BzrError("bzrlib.merge.merge_inner requires a this_tree "
 
1017
            "parameter as of bzrlib version 0.8.")
1021
1018
    merger = Merger(this_branch, other_tree, base_tree, this_tree=this_tree,
1022
1019
                    pb=pb, change_reporter=change_reporter)
1023
1020
    merger.backup_files = backup_files