~abentley/bzrtools/bzrtools.dev

« back to all changes in this revision

Viewing changes to patchsource.py

  • Committer: Michael Ellerman
  • Date: 2006-05-08 13:40:57 UTC
  • mto: (0.3.1 shelf-dev)
  • mto: This revision was merged to the branch mainline in revision 367.
  • Revision ID: michael@ellerman.id.au-20060508134057-ca7ff91d709d293a
Save shelved patches in -p0 format by default.

Show diffs side-by-side

added added

removed removed

Lines of Context:
49
49
        from StringIO import StringIO
50
50
        f = StringIO()
51
51
 
52
 
        show_diff_trees(self.old_tree, self.tree, f, self.file_list)
 
52
        show_diff_trees(self.old_tree, self.tree, f, self.file_list,
 
53
                        old_label='', new_label='')
53
54
 
54
55
        f.seek(0)
55
56
        return f.readlines()