-NEWS for rsync 2.6.6 (UNRELEASED)
-Protocol: 29 (unchanged)
-Changes since 2.6.5:
+NEWS for rsync 3.0.0 (UNRELEASED)
+Protocol: 30 (changed)
+Changes since 2.6.9:
BUG FIXES:
- - The setting of flist->high in clean_flist() was wrong for an empty list.
- This could cause flist_find() to crash in certain rare circumstances
- (e.g. if just the right directory setup was around when --fuzzy was
- combined with --list-dest).
+ - Fixed the output of -ii when combined with one of the --*-dest options:
+ it now itemizes all the items, not just the changed ones.
- - The outputting of hard-linked files when verbosity was > 1 was not right:
- without -i it would output the name of each hard-linked file as thought
- it had been changed (it now outputs a "is hard linked" message for the
- file); with -i it would could output all trailing dots for an unchanged
- hard-link (it now changes those dots to spaces, as is done for other
- unchanged files).
+ - Made the output of all file types consistent when using a --*-dest
+ option. Prior versions used to output too many creation events for
+ matching items.
- - When backing up a changed symlink or device, get rid of any old backup
- item so that we don't get an already-exists error.
+ - The code that waits for a child pid now handles being interrupted by
+ a signal. This fixes a problem with the pre-xfer exec function not
+ being able to get the exit status from the script.
+
+ - A negated filter rule now sends the negation option when sending the
+ filter rules.
+
+ - Fixed a problem with -vv (double --verbose) and --stats when "pushing"
+ files (which includes local copies). Version 2.6.9 would complete the
+ copy, but exit with an error when the receiver output its memory stats.
ENHANCEMENTS:
- - Made the "max verbosity" setting in the rsyncd.conf file settable on a
- per-module basis (which now matches the documentation).
+ - Added the --delete-delay option, which is a more efficient way to
+ delete files at the end of the transfer without needing a separate
+ delete pass.
+
+ - You may specify --max-delete=0 to a 3.0.0 client as long as the
+ receiving side is at least version 3.0.0. This means that you
+ can pull from an older rsync with this option, but pushing to an
+ older rsync will generate an error. *Be sure to never specify a 0
+ value to an older rsync client, or it will be silently ignored.*
+
+ - The --hard-link option now uses less memory on both the sending and
+ receiving side for all protocol versions. For protocol 30, the use
+ of a hashtable on the sending side allows us to more efficiently
+ convey to the receiver what files are linked together. This reduces
+ the amount of data sent over the socket by a considerable margin, and
+ moves the in-memory storage of the device+inode information from the
+ receiving side (for protocols < 30) to the sending side (note that
+ older rsync versions kept the device+inode information on both
+ sides).
+
+ INTERNAL:
+
+ - Added some isType() functions that make dealing with signed characters
+ easier without forcing variables via casts.
+
+ - Upgraded the included popt version to 1.10.2 and improved its use of
+ string-handling functions.
+
+ - Added missing prototypes for compatibility functions from the lib dir.
- - The support/rrsync script has been upgraded to verify the args of options
- that take them (instead of rejecting any such options). The scrip was
- also changed to try to be more secure and to fix a problem in the parsing
- of a copy that has multiple sources.
+ - Configure determines if iconv() has a const arg, allowing us to avoid a
+ compiler warning.
- BUILD CHANGES:
+ - Made the sending of some numbers more efficient for protocol 30.
- - Made configure define NOBODY_USER (currently hard-wired to "nobody") and
- NOBODY_GROUP (set to either "nobody" or "nogroup" depending on what we
- find in the /etc/group file).
+ - Improved the use of "const" on pointers.
- - Added a test to the test suite, itemized.test, that tests the output of
- -i (log-format w/%i) and some double-verbose messages.
+ DEVELOPER RELATED:
+ - ...