out of date it's not interpreted like an actual rsync exitcode
(to avoid a misleading exitcode interpretation message).
svn path=/main/trunk/; revision=9320
("-6" in all_rsync_opts or "--ipv6" in all_rsync_opts):
family = socket.AF_INET6
ips=[]
+ SERVER_OUT_OF_DATE = -1
while (1):
if ips:
del ips[0]
print ">>> In order to force sync, remove '%s'." % servertimestampfile
print ">>>"
print
- exitcode = 1
+ exitcode = SERVER_OUT_OF_DATE
elif (servertimestamp == 0) or (servertimestamp > mytimestamp):
# actual sync
mycommand = rsynccommand + [dosyncuri+"/", myportdir]
if (exitcode==0):
emergelog(xterm_titles, "=== Sync completed with %s" % dosyncuri)
+ elif exitcode == SERVER_OUT_OF_DATE:
+ sys.exit(1)
elif (exitcode>0):
print
if exitcode==1: