~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/conflicts.py

  • Committer: Vincent Ladeuil
  • Date: 2011-01-15 19:43:23 UTC
  • mfrom: (5609.2.3 2.3)
  • mto: This revision was merged to the branch mainline in revision 5615.
  • Revision ID: v.ladeuil+lp@free.fr-20110115194323-600qx58shsrp66o0
Merge 2.3 into trunk including fix for bug #660935

Show diffs side-by-side

added added

removed removed

Lines of Context:
514
514
        # Adjust the path for the retained file id
515
515
        tid = tt.trans_id_file_id(file_id)
516
516
        parent_tid = tt.get_tree_parent(tid)
517
 
        tt.adjust_path(path, parent_tid, tid)
 
517
        tt.adjust_path(osutils.basename(path), parent_tid, tid)
518
518
        tt.apply()
519
519
 
520
520
    def _revision_tree(self, tree, revid):
600
600
        # 'item.suffix_to_remove' has been deleted, this is a no-op)
601
601
        this_tid = tt.trans_id_file_id(self.file_id)
602
602
        parent_tid = tt.get_tree_parent(this_tid)
603
 
        tt.adjust_path(self.path, parent_tid, this_tid)
 
603
        tt.adjust_path(osutils.basename(self.path), parent_tid, this_tid)
604
604
        tt.apply()
605
605
 
606
606
    def action_take_this(self, tree):