[Patch] Make diff output work for LKML

Michael Ellerman michael+bazaar at ellerman.id.au
Mon May 9 14:50:58 BST 2005


Hi all,

I don't think you'll want to merge this Martin, but for anyone else who's
using bzr to make patches for LKML this little patch will help.

cheers

*** modified file 'bzrlib/diff.py'
--- a/bzrlib/diff.py 
+++ b/bzrlib/diff.py 
@@ -151,8 +151,8 @@
     new_tree = b.working_tree()
 
     # TODO: Options to control putting on a prefix or suffix, perhaps as a format string
-    old_label = ''
-    new_label = ''
+    old_label = 'a/'
+    new_label = 'b/'
 
     DEVNULL = '/dev/null'
     # Windows users, don't panic about this filename -- it is a






More information about the bazaar mailing list