~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/shelf_ui.py

  • Committer: Aaron Bentley
  • Date: 2008-12-12 06:09:44 UTC
  • mto: This revision was merged to the branch mainline in revision 3904.
  • Revision ID: aaron@aaronbentley.com-20081212060944-w84fbtu095dw7ndn
Use relative paths with shelve

Show diffs side-by-side

added added

removed removed

Lines of Context:
75
75
        tree, path = workingtree.WorkingTree.open_containing(directory)
76
76
        target_tree = builtins._get_one_revision_tree('shelf2', revision,
77
77
            tree.branch, tree)
78
 
        return klass(tree, target_tree, diff_writer, all, all, file_list,
79
 
                     message)
 
78
        files = builtins.safe_relpath_files(tree, file_list)
 
79
        return klass(tree, target_tree, diff_writer, all, all, files, message)
80
80
 
81
81
    def run(self):
82
82
        """Interactively shelve the changes."""