atomicfile - should it use transports?

John Arbash Meinel john at arbash-meinel.com
Fri Jan 20 22:17:25 GMT 2006


Robert Collins wrote:
> Just noticed that its not used for sftp/local transport actions - but as
> transports are needed for everything in branches & repositories it seems
> to me it should be transport aware...
> 
> Rob

The idea is that 'transport.put()' is considered atomic. So for the
LocalTransport it uses AtomicFile, for sftp it puts to a temporary file
and uses fancy_rename.

You can invert the dependencies, but that is the design of the system.

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/20060120/c207a43b/attachment.pgp 


More information about the bazaar mailing list