Small nit in tutorial

John Arbash Meinel john at arbash-meinel.com
Mon Mar 26 15:07:03 BST 2007


Erik Bågfors wrote:
> On 3/22/07, Stephen Waterbury <stephen.c.waterbury at nasa.gov> wrote:
>> In the Bazaar Tutorial
>> (<http://doc.bazaar-vcs.org/bzr.dev/tutorial.htm>), near the bottom
>> of the page in the section "Publishing your branch", the rsync
>> command given:
>>
>> rsync -avrz LOCALBRANCH servername.com/this/directory/here
>>
>> contains a redundancy:  "a" implies "r", so "-avz" is sufficient.
> 
> I actually think this should be removes since we have good support for
> sftp/ftp in bzr now.
> 
> /Erik

I think it is reasonable to mention that you an use rsync. Though I
agree the other options are "better". Since it ensures data consistency
on the other side. (rsync will copy index files before data files, and
the inventory before the knit data). So interrupting an rsync == broken
branch.

This reminds me, our next format should play a small game with names, so
that things get copied it the right order. (kndx < knit, so we need
knix, or something like that).

I don't know the exact sorting rules for rsync, but it shouldn't be too
hard to figure out.

John
=:->




More information about the bazaar mailing list