[PATCH][BUG 119330] Fix tempfile permissions error in smart server tar bundling (under windows)

Martin _ gzlist at googlemail.com
Fri Jun 8 21:33:32 BST 2007


Attached patch is fix for second half of issue with trying to get
bzr+http working under windows/mod_python, see lauchpad for gory
details:
https://bugs.launchpad.net/bzr/+bug/119330

Rather than re-opening tempfile from filename in order to use it as
tempory tar.bz2 to pack and  send repo to client, patch passes file
reference. Windows throws a permissions error otherwise when
attempting to get second write access, for reasons I don't (and don't
want to) fully understand. This probably wants checking over for nix
(and other) implications before applying.

Martin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pass_tempfile_by_fileobj.patch
Type: application/octet-stream
Size: 1116 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20070608/9cf18c42/attachment.obj 


More information about the bazaar mailing list