Cached files [was Re: Inner repos]
John A Meinel
john at arbash-meinel.com
Sat Dec 31 19:52:41 GMT 2005
John A Meinel wrote:
> Marco Canini wrote:
>> Well, it seems that I should be fine with your rsync plugin.
>> Though I don't understand in which order I should run the rpush, push or the
>> rpull, pull commands, and how they differ.
>> It would be cool to have both rsync add / remove commands instead of editing
>> the file by hand.
>>
>> Many thanks John
>>
>
> Here is the rundown:
Oh, and one more *serious* thing to watch out for.
Neither bzrtools push, nor my rpush/rpull lock the branches. They really
are not designed for shared branches.
Two people running (r)push at the same time can corrupt the remote
repository.
This is not true with the built-in push over sftp or on the local
filesystem. (Though if one person is pushing over sftp and the other
over the local filesystem you can get corruption since they lock
differently).
If you ever ran into remote branch corruption, you could just run "bzr
rpush" again. Since it is really just trying to create an exact copy of
the local branch. But someone's changes would be lost.
'bzr push' is designed to lock the remote tree, and it should fail to
push if the remote tree is already locked.
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/20051231/94ba3fe3/attachment.pgp
More information about the bazaar
mailing list