mode support missed the append function?

John Arbash Meinel john at arbash-meinel.com
Tue Jan 10 13:37:48 GMT 2006


Robert Collins wrote:
> at least, there are no tests for transport.append(path, file, mode)
> 
> ..
> 
> Rob

If you look at transport/__init__.py There is no support for
.append(path, file, mode). Appending doesn't change the mode of a file
(normally).

None of the transports support passing a mode.

Is this something you would like to see? We can add that functionality.
I was using the idea that put() creates a new file, so you need a mode.
append() modifies in place.

But I can see if we change to knits, we might use .append() as a time to
maintain the 'files have a similar mode as .bzr/' constraint.

John
=:->
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 256 bytes
Desc: OpenPGP digital signature
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20060110/4762625d/attachment.pgp 


More information about the bazaar mailing list