Mention the big improvement when --delete and --checksum were
[rsync/rsync.git] / NEWS
1 NEWS for rsync 2.6.7 (UNRELEASED)
2 Protocol: 29 (unchanged)
3 Changes since 2.6.6:
4
5   BUG FIXES:
6
7     - Fixed a really old bug that caused --checksum (-c) to checksum all the
8       files during the delete scan!
9
10     - Made hard-links work with symlinks and devices again.
11
12     - If a device-file/special-file changes permissions, rsync now updates the
13       permissions without recreating the file.
14
15     - If the user specifies a remote-host for both the source and destination,
16       we now output a syntax error rather than trying to open the destination
17       hostspec as a filename.
18
19     - When --inplace creates a new destination file, rsync now creates it with
20       permissions 0600 instead of 0000 -- this makes restarting possible when
21       the transfer gets interrupted in the middle of sending a new file.
22
23     - Reject the combination of --inplace and --sparse since the sparse-output
24       algorithm doesn't work when overwriting existing data.
25
26     - Fixed the directory name in the error that is output when pop_dir()
27       fails.
28
29     - Really fixed the parsing of a "!" entry in .cvsignore files this time.
30
31     - If the generator gets a stat() error on a file, output it (this used to
32       require at least -vv for the error to be seen).
33
34     - If waitpid() fails or the child rsync didn't exit cleanly, we now handle
35       the exit status properly and generate a better error.
36
37   ENHANCEMENTS:
38
39     - Added the --append option that makes rsync append data onto files
40       that are longer on the source than the destination (this includes new
41       files).
42
43     - Added the --min-size=SIZE option to exclude small files from the
44       transfer.
45
46     - Added the --compress-level option to allow you to set how aggressive
47       rsync's compression should be (the option implies --compress).
48
49     - Enhanced the parsing of the SIZE value for --min-size and --max-size.
50
51     - If lutimes() and/or lchmod() are around, use them to allow the
52       preservation of attributes on symlinks.
53
54     - Added two config items to the rsyncd.conf parsing:  "pre-xfer exec"
55       and "post-xfer exec".  These allow a command to be specified on a
56       per-module basis that will be run before and/or after a daemon-mode
57       transfer. 
58
59     - When using the --relative option, you can now insert a dot dir in
60       the source path to indicate where the replication of the source dirs
61       should start.  For example, if you specify a source path of
62       rsync://host/module/foo/bar/./baz/dir with -R, rsync would only
63       replicate the "baz/dir" part of the source path (note: a trailing
64       dot dir is unaffected unless it also has a trailing slash).
65
66     - Added some new --no-FOO options that make it easier to override
67       unwanted implied or default options.  For example, "-a --no-o" (aka
68       "--archive --no-owner") can be used to turn off the preservation of
69       file ownership that is implied by -a.
70
71     - Added the --chmod=MODE option that allows the destination permissions
72       to be changed from the source permissions.  E.g. --chmod=g+w,o-rwx
73
74     - Allow the --temp-dir option to be specified when starting a daemon,
75       which sets the default temporary directory for incoming files.
76
77     - If --delete is combined with --dirs without --recursive, rsync will
78       now delete in any directory whose content is being synchronized.
79
80     - The file-count stats that are output by --progress were improved to
81       better indicate what the numbers mean.  For instance, the output:
82       "(xfer#5, to-check=8383/9999)" indicates that this was transferred
83       file #5, and we still need to check 8383 files out of 9999 total.
84
85     - Some minor documentation improvements.
86
87     - Updated some diffs in the patches dir.
88
89   INTERNAL:
90
91     - Some buffer sizes were expanded a bit, particularly on systems where
92       MAXPATHLEN is overly small (e.g. cygwin).
93
94     - If io_printf() tries to format more data than fits in the buffer, exit
95       with an error instead of transmitting a truncated buffer.
96
97     - If a va_copy macro is defined, lib/snprintf.c will use it when defining
98       the VA_COPY macro.
99
100     - Reduced the amount of stack memory needed for each level of directory
101       recursion by nearly MAXPATHLEN bytes.
102
103   DEVELOPER RELATED:
104
105     - Several diffs in the patches dir now use the proper --enable-FOO
106       configure option instead of --with-FOO to turn on the inclusion of
107       the newly patched feature.
108