bzr export/push with rsync
William Dode
wilk-ml at flibuste.net
Tue Nov 22 20:43:29 GMT 2005
On 22-11-2005, John A Meinel wrote:
> This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
> --------------enig24A72586080826611F06A2CB
> Content-Type: text/plain; charset=UTF-8
> Content-Transfer-Encoding: quoted-printable
>
> William Dode wrote:
>> Hi,
>>=20
>> It was a discussion some days ago to decide if push could also export
>> the tree, i need this to let somes users to take a snapshot of the tree=
>
>> by rsync. What was decided finaly ?
>>=20
>> I could use the push plugin of bzrtools but now the commands have the
>> same names ! What is the plan for bzrtools push ?
>>=20
>
> You could use my rsync plugin, which provides "rpush" and "rpull". It is
> available from here:
> http://bzr.arbash-meinel.com/plugins/bzr-rsync/
>
> It needs to be cleaned up a bit, to make it a little bit safer. Right
> now it uses the ".bzr/parent" location to determine if the trees are out
> of date, which means that if you have a parent which is not the same as
> your x-rsync-data location, you could accidentally overwrite things when
> you aren't supposed to. The bzrtools plugin would download the
> revision-history file using rsync, so it had to connect 2 times.
>
> Also, whatever method you use, rsync will wipe out remote changes (we
> don't do merging, just flat copying). Which is reasonable for some use
> cases, but not the truly "correct" method.
Thanks to clarify this, it's exactly what i need, a mirror.
--
William Dodé - http://flibuste.net
More information about the bazaar
mailing list