~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/merge.py

  • Committer: Martin Pool
  • Date: 2011-07-04 21:10:37 UTC
  • mto: (6034.1.1 filter-tree)
  • mto: This revision was merged to the branch mainline in revision 6035.
  • Revision ID: mbp@canonical.com-20110704211037-ro3417imj3oqnqxp
Support exporting tarballs from ContentFilterTree

Show diffs side-by-side

added added

removed removed

Lines of Context:
1635
1635
                if other_parent is None or other_name is None:
1636
1636
                    other_path = '<deleted>'
1637
1637
                else:
1638
 
                    if other_parent == self.other_tree.get_root_id():
1639
 
                        # The tree transform doesn't know about the other root,
1640
 
                        # so we special case here to avoid a NoFinalPath
1641
 
                        # exception
1642
 
                        parent_path = ''
1643
 
                    else:
1644
 
                        parent_path =  fp.get_path(
1645
 
                            self.tt.trans_id_file_id(other_parent))
 
1638
                    parent_path =  fp.get_path(
 
1639
                        self.tt.trans_id_file_id(other_parent))
1646
1640
                    other_path = osutils.pathjoin(parent_path, other_name)
1647
1641
                c = _mod_conflicts.Conflict.factory(
1648
1642
                    'path conflict', path=this_path,