[Pkg-bazaar-maint] Bug#451248: Bug#451248: bzr-builddeb: updated patch
james at jameswestby.net
Sun Nov 18 14:26:23 UTC 2007
On Sat, 2007-11-17 at 02:12 +1100, Jamie Wilkinson wrote:
> Package: bzr-builddeb
> Version: 0.92
> Tags: patch
> Followup-For: Bug #451248
> Hi again,
> I messed up the diff last time, so it won't apply properly and it'll
> generate bad code if it does. Instead here's some inline code you can
> copy and paste into import_dsc.py, replacing _filter_patch(),
> _patch_tree(), and _get_touched_paths().
> This version also handles large patches going through _get_touched_paths
> better, by selecting on lsdiff's stdout each time we write to
> filterdiff's stdin, so these processes don't fill up their own buffers
> and stop reading.
> The read(1) can probably be made more efficient, but for now this works
> pretty well!
Thanks for the patch. I will test it myself and apply it soon, so it
will be in the next release.
Thanks for taking the time to write it, and to teach me a better
way to do this.
More information about the Pkg-bazaar-maint