~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/merge.py

  • Committer: Robert Collins
  • Date: 2007-03-27 05:53:02 UTC
  • mfrom: (2367.2.1 cleanup-0.8)
  • mto: This revision was merged to the branch mainline in revision 2377.
  • Revision ID: robertc@robertcollins.net-20070327055302-bvzpk1bmf6jxxpau
(robertc) Merge 0.8 API removal cleanup.

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