From: Wayne Davison Date: Fri, 11 Feb 2005 10:42:55 +0000 (+0000) Subject: - Added some new refused_* variables that note if certain options X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/commitdiff_plain/3671987f4d7834dc51a6113b3d012475381e4a93?hp=3671987f4d7834dc51a6113b3d012475381e4a93 - Added some new refused_* variables that note if certain options have been refused on the server daemon. This allows us to reject implied options (e.g. if --partial is refused and -P specified). - Changed the handling of the --delete refusals from the old idiom of upgrading "delete" to "delete*" into the new idiom of checking if refused_delete is set when we determine --delete was implied. - Changed the --del option from a popt alias into a normal option. - Mark all the daemon options as refused when a daemon is parsing the over-the-socket options. - Created a new function, create_refuse_error(), which is now called from all the spots that check for refused options. - Don't call clean_fname() on an empty string -- either reject it or handle it without erroneously expanding the string. - If --delay-updates was specified without a --partial-dir option, don't send the default "--partial-dir=.~tmp~" option if the server is the receiver -- just let it default. ---