Should Transport.append() error if file is missing

John A Meinel john at arbash-meinel.com
Fri Dec 2 16:07:17 GMT 2005


Should a transport raise an exception if you try to append to a
nonexistent file?
On the local system opening a file with 'ab', just opens a new file if
one doesn't already exist.

The unix open command has the O_CREAT flag, versus O_EXCL, etc to decide
all of the possibilities.

I'm fine with just appending to an empty file, but I'm trying to expand
the transport test suite, and wondered what the expected behavior would be.

John
=:->

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 249 bytes
Desc: OpenPGP digital signature
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20051202/1db342e7/attachment.pgp 


More information about the bazaar mailing list