3
# example of how to upload a bzr tree using rsync
 
 
5
# --include-from is used to make sure that only versioned files and
 
 
6
# control files are copied.  We use includes/excludes rather than
 
 
7
# --files-from so that we can delete any files from the destination
 
 
8
# that are no longer present on the source.
 
 
12
# note: don't use -a because that can mess up the permissions
 
 
14
chmod a+rX `bzr inventory`
 
 
19
    escudero.ubuntu.com:/srv/www.bazaar-ng.org/rsync/bzr/bzr.dev/   \
 
 
22
    --exclude-from .rsyncexclude                                    \
 
 
23
    --exclude-from .bzrignore                                       \
 
 
27
    --delete-excluded --delete                                      \