[PATCH] patiencediff.py/unified_diff: do not insert trailing whitespace if filedate is empty
Adeodato Simó
dato at net.com.org.es
Sat Jan 3 16:06:57 GMT 2009
Hi there.
When using unified_diff from bzrlib.patiencediff and writing the result
through a colordiff.DiffWriter object, the +++/--- lines were signaled
as having trailing whitespace.
The attached patch fixes this nuisance, it would be great if you could
apply it in bzr.dev. Feel free to drop the str()'s if you feel that's
too much pedantry.
Thanks,
(Please CC me on replies.)
--
Adeodato Simó dato at net.com.org.es
Debian Developer adeodato at debian.org
- Oh my God, you're pimping me out for a new roof?
- And windows!
-- Andrew and Bree Van De Kamp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patience_unified_diff.diff
Type: text/x-diff
Size: 843 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20090103/44597777/attachment.bin
More information about the bazaar
mailing list