-rsync changes since last release
+NEWS for rsync 2.6.4 (UNRELEASED)
+Protocol: 28 (unchanged)
+Changes since 2.6.3:
- ENHANCEMENTS:
-
- * The --delete-after option now implies --delete. (Wayne Davison)
-
- * The --suffix option can now be used with --backup-dir. (Michael
- Zimmerman)
-
- * Combining "::" syntax with the -rsh/-e option now uses the
- specified remote-shell as a transport to talk to a (newly-spawned)
- server-daemon. This allows someone to use daemon features, such
- as modules, over a secure protocol, such as ssh. (JD Paul)
-
- * The rsync:// syntax for daemon connections is now accepted in the
- destination field.
-
- * If the file name given to --include-from or --exclude-from is "-",
- rsync will read from standard input. (J.W. Schultz)
-
- * New option --link-dest which is like --compare-dest except that
- unchanged files are hard-linked in to the destination directory.
- (J.W. Schultz)
-
- * Don't report an error if an excluded file disappears during an
- rsync run. (Eugene Chupriyanov and Bo Kersey)
-
- * Added .svn to --cvs-exclude list to support subversion. (Jon
- Middleton)
-
- * Properly support IPv6 addresses in the rsyncd.conf "hosts allow"
- and "hosts deny" fields. (Hideaki Yoshifuji)
+ BUG FIXES:
- * Set the default value of --modify-window to 1 on Cygwin. (Lapo
- Luchini)
+ - Restore the list-clearing behavior of "!" in a .cvsignore file (2.6.3
+ was only treating it as a special token in an rsync include/exclude
+ file).
- * Changed exclude file handling to permit DOS or MAC style line
- terminations. (J.W. Schultz)
+ - Avoid a mkdir warning when removing a directory in the destination
+ that already exists in the --backup-dir.
- * Ignore errors from chmod when -p/-a/--preserve-perms is not set.
- (Dave Dykstra)
+ - An OS that has a binary mode for its files (such as cygwin0 needed
+ setmode(fd, O_BINARY) called on the temp-file we opened with
+ mkstemp(). (Fix picked up from the cygwin package.)
- BUG FIXES:
-
- * Fix "forward name lookup failed" errors on AIX 4.3.3. (John
- L. Allen, Martin Pool)
+ - Fixed a potential hang when verbosity is high, the client side is
+ the sender, and the file-list is large.
- * Generate each file's rolling-checksum data as we send it, not
- in a separate (memory-eating) pass before hand. This prevents
- timeout errors on really large files. (Stefan Nehlsen)
+ - We now check if the OS doesn't support using mknod() for creating
+ FIFOs and sockets, and compile-in using mkfifo() and socket() when
+ necessary.
- * Fix compilation on Tru64. (Albert Chin, Zoong Pham)
+ - Fixed an off-by-one error in the handling of --max-delete=N.
- * Better handling of some client-server errors. (Martin Pool)
+ - One place in the code wasn't checking if fork() failed.
- * Fixed a crash that would occur when sending a list of files that
- contains a duplicate name (if it sorts to the end of the file
- list) and using --delete. (Wayne Davison)
+ - The "ignore nonreadable" daemon parameter no longer affects symlinks
+ that are being copied, even if they point nowhere.
- * Fixed the file-name duplicate-removal code when dealing with multiple
- dups in a row. (Wayne Davison)
+ - If the OS does not have lchown() and its chown() tries to set the
+ referent of a symlink (as it should), we no longer try to set the
+ user and group of a symlink.
- * Fixed a bug that caused rsync to lose the exit status of its child
- processes and sometimes return an exit code of 0 instead of showing
- an error. (David R. Staples, Dave Dykstra)
+ ENHANCEMENTS:
- * Fixed bug in --copy-unsafe-links that caused it to be completely
- broken. (Dave Dykstra)
+ - Rsync now supports popt's option aliases, which means that you can
+ use /etc/popt and/or ~/.popt to create your own option aliases.
- * Prevent infinite recursion in cleanup code under certain circumstances.
- (Sviatoslav Sviridov and Marc Espie)
+ - Added the --copy-dest option, which works like --link-dest except
+ that it includes copies of identical files.
- * Fixed a bug that prevented rsync from creating intervening directories
- when --relative-paths/-R is set. (Craig Barratt)
+ - Added support for specifying multiple --compare-dest, --copy-dest, or
+ --link-dest options, but only of a single type. (Promoted from the
+ patches dir and enhanced.)
- * Prevent "Connection reset by peer" messages from Cygwin. (Randy O'Meara)
+ - Added the --max-size option. (Promoted from the patches dir.)
- INTERNAL:
+ - The daemon-mode options were separated from the normal rsync options
+ so that they can't be mixed together. This makes it impossible to
+ start a daemon that had improper default option values that could
+ cause problems (such as a hang or an abort) when a client connects.
- * Many code cleanups and improved internal documentation. (Martin
- Pool, Nelson Beebe)
+ - The --bwlimit option may now be used in combination with --daemon
+ to specify a default value for the daemon side and also a value
+ that cannot be exceeded by a user-specified --bwlimit option.
- * Portability fixes. (Dave Dykstra and Wayne Davison)
+ - Added the "port" parameter to the rsyncd.conf file. (Promoted from
+ the patches dir.)
- * More test cases. (Martin Pool)
+ - In _exit_cleanup(): when we are exiting with a partially-received
+ file, we now flush any data in the write-cache before closing the
+ partial file.
- * Some test-case fixes. (Brian Poole, Wayne Davison)
+ - Added support/atomic-rsync -- a perl script that will transfer some
+ files using rsync, and then move the updated files into place all at
+ once at the end of the transfer. Only works when pulling, and uses
+ --link-dest.
- * Updated included popt to the latest vendor drop, version 1.6.4.
- (Jos Backus)
+ BUILD CHANGES:
- * Updated config.guess and config.sub to latest versions; this
- means rsync should build on more platforms. (Paul Green)
+ - Handle an operating system that use mkdev() in place of makedev().