or --write-batch.
- If --write-batch is combined with --dry-run, just disable
--write-batch (that avoids trying to create a batch file
and tells the user what would be transferred).
understand the rsync:://HOST:PORT/PATH format, allowing all HOSTs
to be IPv6 literal addresses enclosed in '[' and ']', and changing
it to return the 3 parts of the spec separately (host, port, and
path).
- Relocated the code that handles the sanitation and validation of
the files_from arg in order to make its placement a little more
logical.
- Replaced remote_filesfrom_file with filesfrom_host, which makes
the value of the files_from variable more intuitive.
variable named am_starting_up that is non-zero during the option
parsing. This lets the who_am_i() routine output a better value
for debugging info that is output during the option parsing.
- Fixed a problem withe option-refusing code when it refuses the
daemon options.
- Don't sent --itemize-changes (-i) to the server -- send an
improved --log-format value instead.
- Make sure that -i can't be set w/o an actual %i in the log_format.
- Only need to pass -i to server if we're the sender.
- Only need to pass some --log-format information to the server in
certain circumstances.
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.
verions of rsync can more easily change the default that --delete
implies and still support explicit --delete-before functionality
when interacting with older versions.