Mercurial > treepkg
changeset 320:0862a14df80b
Rsync call parameters: Using the long version with some parameters for clarity.
Added --omit-dir-times - otherwise the dirs have to be owned.
author | Bernhard Reiter <bernhard@intevation.de> |
---|---|
date | Mon, 21 Dec 2009 13:21:40 +0000 |
parents | dba1b6b825ec |
children | 092925ff75d7 |
files | bin/publishpackages.py |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/bin/publishpackages.py Wed Dec 09 17:47:15 2009 +0000 +++ b/bin/publishpackages.py Mon Dec 21 13:21:40 2009 +0000 @@ -143,7 +143,8 @@ rsync_flags.append("--delete") if quiet: rsync_flags.append("--quiet") - call(cmdexpand("rsync @rsync_flags -rpt $cachedir/ $remote_destdir/", + call(cmdexpand("rsync @rsync_flags -r --perms --times --omit-dir-times" + " $cachedir/ $remote_destdir/", rsync_flags=rsync_flags, remote_destdir=remote_destdir, **variables))