[MERGE] Minor docstring cleanups

Robert Collins robertc at robertcollins.net
Fri May 2 02:59:59 BST 2008


On Thu, 2008-05-01 at 12:19 -0500, John Arbash Meinel wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Ian Clatworthy wrote:
> | This patch corrects a minor error in a deprecation string I came across
> | while doing a review yesterday. It also adds a base method/docstring for
> | MutableTree.put_file_bytes_non_atomic based on information Robert and
> | Martin provided on IRC.
> |
> | Ian C.
> |
> 
> If you want a small addition, you can say that it is meant for callers that
> already know the target path does not already exist. (Either because it is a
> temporary path, or they already probed for a file and failed.) You certainly
> wouldn't have to, but that might also be helpful to know.
> 
> The only times I'm aware of right now are when uploading a pack file (to a
> unique temp path), pushing a knit file after finding out the target doesn't
> exist, and lock files because they also go into a unique temp directory.

None of those apply to *MutableTree*.

-Rob
-- 
GPG key available at: <http://www.robertcollins.net/keys.txt>.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20080502/57ea3db5/attachment.pgp 


More information about the bazaar mailing list