This rsync flag is too agressive. If you're afraid that existing files are
going to conflict with what you're sending a then you should just kill them
yourself first, rather than using --force and hoping what rsync leaves behind
is good.
Signed-off-by: John Admanski <jadmanski@google.com>
git-svn-id: http://test.kernel.org/svn/autotest/trunk@1184 592f7852-d20e-0410-864c-8624ca9c26a4
diff --git a/server/hosts/ssh_host.py b/server/hosts/ssh_host.py
index a67735b..22d8a15 100644
--- a/server/hosts/ssh_host.py
+++ b/server/hosts/ssh_host.py
@@ -539,7 +539,7 @@
self.user, self.hostname,
utils.scp_remote_escape(dest))
try:
- utils.run('rsync --force --rsh="%s" -az %s %s' % (
+ utils.run('rsync --rsh="%s" -az %s %s' % (
self.ssh_base_command(), " ".join(processed_source),
remote_dest))
except: