~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/conflicts.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2011-01-15 20:19:43 UTC
  • mfrom: (5614.1.1 trunk)
  • Revision ID: pqm@pqm.ubuntu.com-20110115201943-es5zdz223vtgweyf
(vila) Merge 2.3 into trunk including fix for bug #660935 (Vincent
        Ladeuil)

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):