~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/merge.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2010-04-27 01:04:45 UTC
  • mfrom: (5162.3.4 fix-switch-branch)
  • Revision ID: pqm@pqm.ubuntu.com-20100427010445-rargwg6u8xyjv80b
(abentley) Fix switch with per-file mergers (#559436)

Show diffs side-by-side

added added

removed removed

Lines of Context:
704
704
        :param this_tree: The local tree in the merge operation
705
705
        :param base_tree: The common tree in the merge operation
706
706
        :param other_tree: The other tree to merge changes from
707
 
        :param this_branch: The branch associated with this_tree
 
707
        :param this_branch: The branch associated with this_tree.  Defaults to
 
708
            this_tree.branch if not supplied.
708
709
        :param interesting_ids: The file_ids of files that should be
709
710
            participate in the merge.  May not be combined with
710
711
            interesting_files.
728
729
        if interesting_files is not None and interesting_ids is not None:
729
730
            raise ValueError(
730
731
                'specify either interesting_ids or interesting_files')
 
732
        if this_branch is None:
 
733
            this_branch = this_tree.branch
731
734
        self.interesting_ids = interesting_ids
732
735
        self.interesting_files = interesting_files
733
736
        self.this_tree = working_tree