bzr, rsync, and atomic operations
John Arbash Meinel
john at arbash-meinel.com
Thu Oct 13 20:43:16 BST 2005
Matthieu Moy wrote:
> John Arbash Meinel <john at arbash-meinel.com> writes:
>
>
>>If we were using a "smart" rsync to do the pull, it would pull in the
>>opposite order (get .bzr/revision-history, then all files in
>>revision-store, then inventory.weave, then all text weaves).
>>Which would guarantee a consistent view, even without locking.
>
>
> So, it should get the remote history, then revision, then weaves, but
> then write locally in the opposite order.
>
I do believe if you did it that way, then you would always be guaranteed
a consistent view of the branch.
I believe bzr branch/pull does it that way, by pulling everything into a
local temporary directory, and then copying them across in the correct
order.
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/20051013/335f9b17/attachment.pgp
More information about the bazaar
mailing list