rsync/rsync.git
18 years agoAdded the --executability (-E) option.
Wayne Davison [Tue, 31 Jan 2006 02:29:58 +0000 (02:29 +0000)]
Added the --executability (-E) option.

18 years agoDocumented the new --executability (-E) option, with improvements
Wayne Davison [Tue, 31 Jan 2006 02:29:55 +0000 (02:29 +0000)]
Documented the new --executability (-E) option, with improvements
to the --perms and --chmod sections as well.

18 years agoMention the chmod utility's manpage number.
Wayne Davison [Tue, 31 Jan 2006 02:26:49 +0000 (02:26 +0000)]
Mention the chmod utility's manpage number.

18 years agoMention that --chmod's work can still be masked by the receiving
Wayne Davison [Mon, 30 Jan 2006 22:10:33 +0000 (22:10 +0000)]
Mention that --chmod's work can still be masked by the receiving
end's umask when permissions are not being preserved.

18 years agoMention files-to-excludes.
Wayne Davison [Mon, 30 Jan 2006 21:54:00 +0000 (21:54 +0000)]
Mention files-to-excludes.

18 years agoThis perl script automates the conversion of a list of pathnames
Wayne Davison [Mon, 30 Jan 2006 21:52:17 +0000 (21:52 +0000)]
This perl script automates the conversion of a list of pathnames
to a set of includes/excludes needed for rsync to copy just the
listed files.

18 years agoMentioned the new "outgoing chmod" daemon option.
Wayne Davison [Mon, 30 Jan 2006 21:47:23 +0000 (21:47 +0000)]
Mentioned the new "outgoing chmod" daemon option.

18 years agoDocumented the new "outgoing chmod" daemon option.
Wayne Davison [Mon, 30 Jan 2006 21:47:08 +0000 (21:47 +0000)]
Documented the new "outgoing chmod" daemon option.

18 years agoAdded support for the new "outgoing chmod" daemon option.
Wayne Davison [Mon, 30 Jan 2006 21:47:02 +0000 (21:47 +0000)]
Added support for the new "outgoing chmod" daemon option.

18 years agoMentioned the early-EOF bugfix (which was fixed a while ago).
Wayne Davison [Mon, 30 Jan 2006 20:09:46 +0000 (20:09 +0000)]
Mentioned the early-EOF bugfix (which was fixed a while ago).

18 years agoImproved the documentation for --force.
Wayne Davison [Mon, 30 Jan 2006 18:46:17 +0000 (18:46 +0000)]
Improved the documentation for --force.

18 years agoI realized that there were instances where --force could still be
Wayne Davison [Mon, 30 Jan 2006 18:45:57 +0000 (18:45 +0000)]
I realized that there were instances where --force could still be
required to be combined with a delete option (if a non-dir was
overwriting a dir in a directory that was not included in the
transfer), so I extended the change I just made for --delete-after
to include all delete modes.

18 years agoAllow --force to work even if --recurse was not specified.
Wayne Davison [Mon, 30 Jan 2006 18:35:54 +0000 (18:35 +0000)]
Allow --force to work even if --recurse was not specified.

18 years agoMade get_dirlist() always include directories.
Wayne Davison [Mon, 30 Jan 2006 18:32:47 +0000 (18:32 +0000)]
Made get_dirlist() always include directories.

18 years agoMention the latest improvements.
Wayne Davison [Mon, 30 Jan 2006 18:19:55 +0000 (18:19 +0000)]
Mention the latest improvements.

18 years agoAllow a non-empty dir to be overwritten by a non-dir with all the
Wayne Davison [Mon, 30 Jan 2006 18:14:02 +0000 (18:14 +0000)]
Allow a non-empty dir to be overwritten by a non-dir with all the
delete options (--delete-after used to require --force).

18 years agoIf the module has defined an "incoming chmod" option, call
Wayne Davison [Mon, 30 Jan 2006 17:53:38 +0000 (17:53 +0000)]
If the module has defined an "incoming chmod" option, call
parse_chmod() on it.

18 years agoAdded the "incoming chmod" config option.
Wayne Davison [Mon, 30 Jan 2006 17:53:32 +0000 (17:53 +0000)]
Added the "incoming chmod" config option.

18 years agoDocument the new "incoming chmod" config option.
Wayne Davison [Mon, 30 Jan 2006 17:53:27 +0000 (17:53 +0000)]
Document the new "incoming chmod" config option.

18 years agoCall the parse_chmod() with its new syntax.
Wayne Davison [Mon, 30 Jan 2006 17:53:19 +0000 (17:53 +0000)]
Call the parse_chmod() with its new syntax.

18 years agoChanged the way the parse_chmod() function is called.
Wayne Davison [Mon, 30 Jan 2006 17:53:13 +0000 (17:53 +0000)]
Changed the way the parse_chmod() function is called.

18 years agoAdded extern for io_write_phase.
Wayne Davison [Mon, 30 Jan 2006 17:39:43 +0000 (17:39 +0000)]
Added extern for io_write_phase.

18 years ago- Got rid of the externs for io_read_phase and io_write_phase.
Wayne Davison [Mon, 30 Jan 2006 17:39:34 +0000 (17:39 +0000)]
- Got rid of the externs for io_read_phase and io_write_phase.
- Added stub definition for chmod_mode_struct.

18 years agoMoved the filter_outfile() function to rsync.fns.
Wayne Davison [Mon, 30 Jan 2006 08:12:17 +0000 (08:12 +0000)]
Moved the filter_outfile() function to rsync.fns.

18 years agoMoved the filter_outfile() function here since it was identical
Wayne Davison [Mon, 30 Jan 2006 08:11:50 +0000 (08:11 +0000)]
Moved the filter_outfile() function here since it was identical
in devices.test and itemize.test.

18 years agoThe robust_rename() function now takes a "partialptr" arg that, if
Wayne Davison [Mon, 30 Jan 2006 07:18:16 +0000 (07:18 +0000)]
The robust_rename() function now takes a "partialptr" arg that, if
non-NULL, will be used if we are forced to copy the file.

18 years agoThe finish_transfer() function now takes a "partialptr" arg that, if
Wayne Davison [Mon, 30 Jan 2006 07:18:13 +0000 (07:18 +0000)]
The finish_transfer() function now takes a "partialptr" arg that, if
non-NULL, will be used if robust_rename() is forced to copy the temp
file.

18 years agoCall finish_transfer() with a valid partialptr string, when
Wayne Davison [Mon, 30 Jan 2006 07:18:10 +0000 (07:18 +0000)]
Call finish_transfer() with a valid partialptr string, when
appropriate.

18 years agoCall finish_transfer() with its newly-added arg.
Wayne Davison [Mon, 30 Jan 2006 07:18:06 +0000 (07:18 +0000)]
Call finish_transfer() with its newly-added arg.

18 years agoCall robust_rename() with its newly-added arg.
Wayne Davison [Mon, 30 Jan 2006 07:18:03 +0000 (07:18 +0000)]
Call robust_rename() with its newly-added arg.

18 years agoDocument the side-effect that --partial-dir can have on --temp-dir.
Wayne Davison [Mon, 30 Jan 2006 07:18:00 +0000 (07:18 +0000)]
Document the side-effect that --partial-dir can have on --temp-dir.

18 years agoMore improvements to --temp-dir.
Wayne Davison [Mon, 30 Jan 2006 06:34:57 +0000 (06:34 +0000)]
More improvements to --temp-dir.

18 years agoChanged the mode arg from an int to a mode_t.
Wayne Davison [Mon, 30 Jan 2006 00:39:59 +0000 (00:39 +0000)]
Changed the mode arg from an int to a mode_t.

18 years agoImproved the --temp-dir description and a couple other sentences.
Wayne Davison [Sun, 29 Jan 2006 20:31:59 +0000 (20:31 +0000)]
Improved the --temp-dir description and a couple other sentences.

18 years ago- Renamed set_perms() to set_file_attrs().
Wayne Davison [Sun, 29 Jan 2006 20:30:24 +0000 (20:30 +0000)]
- Renamed set_perms() to set_file_attrs().
- Use the renamed PERMS_* defines: ATTRS_*.

18 years ago- Use the renamed PERMS_* defines: ATTRS_*.
Wayne Davison [Sun, 29 Jan 2006 20:30:18 +0000 (20:30 +0000)]
- Use the renamed PERMS_* defines: ATTRS_*.
- Call the new name of set_perms():  set_file_attrs().

18 years agoCall the new name of set_perms(): set_file_attrs().
Wayne Davison [Sun, 29 Jan 2006 20:30:12 +0000 (20:30 +0000)]
Call the new name of set_perms():  set_file_attrs().

18 years agoRenamed the PERMS_* defines to ATTRS_* defines.
Wayne Davison [Sun, 29 Jan 2006 20:30:07 +0000 (20:30 +0000)]
Renamed the PERMS_* defines to ATTRS_* defines.

18 years agoUse PERMSTRING_SIZE rather than a hard-wired "11".
Wayne Davison [Sun, 29 Jan 2006 20:30:02 +0000 (20:30 +0000)]
Use PERMSTRING_SIZE rather than a hard-wired "11".

18 years agoNo need to send --partial when we're the receiver.
Wayne Davison [Sun, 29 Jan 2006 19:17:13 +0000 (19:17 +0000)]
No need to send --partial when we're the receiver.

18 years agoMade a bunch of char* args const.
Wayne Davison [Sun, 29 Jan 2006 18:52:53 +0000 (18:52 +0000)]
Made a bunch of char* args const.

18 years agoAvoid forwarding the --temp-dir option to the server when we're
Wayne Davison [Sun, 29 Jan 2006 07:19:38 +0000 (07:19 +0000)]
Avoid forwarding the --temp-dir option to the server when we're
the receiver.

18 years agoMade the new --prune-empty-dirs code a little more memory efficient.
Wayne Davison [Sat, 28 Jan 2006 19:20:02 +0000 (19:20 +0000)]
Made the new --prune-empty-dirs code a little more memory efficient.

18 years agoTweaked a variable name in flist_find().
Wayne Davison [Sat, 28 Jan 2006 08:12:16 +0000 (08:12 +0000)]
Tweaked a variable name in flist_find().

18 years agoWe enforce at least protocol 29 for --prune-empty-dirs because the
Wayne Davison [Sat, 28 Jan 2006 07:40:52 +0000 (07:40 +0000)]
We enforce at least protocol 29 for --prune-empty-dirs because the
file-list's sort order can be slightly wrong in older versions.

18 years agoDon't add the "protect" filter rule for backup-suffix filenames
Wayne Davison [Sat, 28 Jan 2006 01:55:55 +0000 (01:55 +0000)]
Don't add the "protect" filter rule for backup-suffix filenames
if --backup was not specified.

18 years ago- We need to send exclude info from the client to a server-receiver
Wayne Davison [Sat, 28 Jan 2006 00:14:02 +0000 (00:14 +0000)]
- We need to send exclude info from the client to a server-receiver
  when --prune-empty-dirs was specified.
- Changed the output of debug include/exclude/show/hide/risk/protect
  messages to use the appropriate filter terminology instead of
  always using the (potentially unclear) include/exclude terms.

18 years agoThe user can now use a "protect" filter to avoid pruning one or
Wayne Davison [Sat, 28 Jan 2006 00:13:59 +0000 (00:13 +0000)]
The user can now use a "protect" filter to avoid pruning one or
more empty directories when --prune-empty-dirs is in effect.

18 years agoChanged --skip-empty-dirs (-k) to --prune-empty-dirs (-m).
Wayne Davison [Sat, 28 Jan 2006 00:13:55 +0000 (00:13 +0000)]
Changed --skip-empty-dirs (-k) to --prune-empty-dirs (-m).

18 years agoChanged --skip-empty-dirs (-k) to --prune-empty-dirs (-m) and
Wayne Davison [Sat, 28 Jan 2006 00:13:52 +0000 (00:13 +0000)]
Changed --skip-empty-dirs (-k) to --prune-empty-dirs (-m) and
improved the docs a bit more, including documenting how "protect"
filtering affects empty dirs.

18 years agoImproved flist_find()'s empty-entry handling to deal with the case
Wayne Davison [Fri, 27 Jan 2006 14:29:58 +0000 (14:29 +0000)]
Improved flist_find()'s empty-entry handling to deal with the case
where more entries may have been removed since the last find.

18 years agoOptimized flist_find() so that we never scan a series of empty
Wayne Davison [Fri, 27 Jan 2006 12:59:07 +0000 (12:59 +0000)]
Optimized flist_find() so that we never scan a series of empty
file-list items twice (which can be very important with the new
--skip-empty-dirs option).  Also optimized the code that strips
root slashes in clean_flist().

18 years agoMention the --skip-empty-dirs option.
Wayne Davison [Fri, 27 Jan 2006 01:20:11 +0000 (01:20 +0000)]
Mention the --skip-empty-dirs option.

18 years agoImplement the new --skip-empty-dirs (-k) option.
Wayne Davison [Fri, 27 Jan 2006 00:32:57 +0000 (00:32 +0000)]
Implement the new --skip-empty-dirs (-k) option.

18 years agoAdded the --skip-empty-dirs (-k) option.
Wayne Davison [Fri, 27 Jan 2006 00:32:53 +0000 (00:32 +0000)]
Added the --skip-empty-dirs (-k) option.

18 years agoDocument the new --skip-empty-dirs (-k) option.
Wayne Davison [Fri, 27 Jan 2006 00:32:49 +0000 (00:32 +0000)]
Document the new --skip-empty-dirs (-k) option.

18 years agoInclude popt.h using <popt.h> instead of "popt.h".
Wayne Davison [Thu, 26 Jan 2006 22:32:59 +0000 (22:32 +0000)]
Include popt.h using <popt.h> instead of "popt.h".

18 years agoMention the change in the --itemize-changes output.
Wayne Davison [Thu, 26 Jan 2006 22:32:18 +0000 (22:32 +0000)]
Mention the change in the --itemize-changes output.

18 years ago- Include popt.h using <popt.h>, not "popt.h".
Wayne Davison [Thu, 26 Jan 2006 22:28:08 +0000 (22:28 +0000)]
- Include popt.h using <popt.h>, not "popt.h".
- A minor twiddle in server_options().

18 years agoMention --sockopts and an improvement to the testsuite environment.
Wayne Davison [Thu, 26 Jan 2006 22:10:08 +0000 (22:10 +0000)]
Mention --sockopts and an improvement to the testsuite environment.

18 years agoThe setting of HOME got moved to rsync.fns.
Wayne Davison [Thu, 26 Jan 2006 21:23:25 +0000 (21:23 +0000)]
The setting of HOME got moved to rsync.fns.

18 years agoSet $HOME to $scratchdir so that our tests are not affected by
Wayne Davison [Thu, 26 Jan 2006 21:22:57 +0000 (21:22 +0000)]
Set $HOME to $scratchdir so that our tests are not affected by
anything unexpected, such as a ~/.popt file.

18 years agoFixed two typos.
Wayne Davison [Thu, 26 Jan 2006 12:41:52 +0000 (12:41 +0000)]
Fixed two typos.

18 years agoMake use of the new sockopts variable.
Wayne Davison [Thu, 26 Jan 2006 12:31:47 +0000 (12:31 +0000)]
Make use of the new sockopts variable.

18 years agoAdded the --sockopts option.
Wayne Davison [Thu, 26 Jan 2006 12:31:24 +0000 (12:31 +0000)]
Added the --sockopts option.

18 years agoMention the --sockopts option.
Wayne Davison [Thu, 26 Jan 2006 12:31:14 +0000 (12:31 +0000)]
Mention the --sockopts option.

18 years agoDocument the new --sockopts option.
Wayne Davison [Thu, 26 Jan 2006 12:30:20 +0000 (12:30 +0000)]
Document the new --sockopts option.

18 years agoMentioned the --super option.
Wayne Davison [Thu, 26 Jan 2006 11:14:10 +0000 (11:14 +0000)]
Mentioned the --super option.

18 years agoAdded the --super option.
Wayne Davison [Thu, 26 Jan 2006 11:10:32 +0000 (11:10 +0000)]
Added the --super option.

18 years agoDocument the new --super option and how it affects other options.
Wayne Davison [Thu, 26 Jan 2006 11:10:28 +0000 (11:10 +0000)]
Document the new --super option and how it affects other options.

18 years agoCheck MY_UID() directly instead of accessing am_root.
Wayne Davison [Thu, 26 Jan 2006 11:01:00 +0000 (11:01 +0000)]
Check MY_UID() directly instead of accessing am_root.

18 years agoMention new --specials option and --devices change.
Wayne Davison [Thu, 26 Jan 2006 10:50:18 +0000 (10:50 +0000)]
Mention new --specials option and --devices change.

18 years agoThe itemized output for the fifo changed.
Wayne Davison [Thu, 26 Jan 2006 10:39:04 +0000 (10:39 +0000)]
The itemized output for the fifo changed.

18 years agoAdded 'S' to the itemized output for special files.
Wayne Davison [Thu, 26 Jan 2006 10:39:01 +0000 (10:39 +0000)]
Added 'S' to the itemized output for special files.

18 years agoHandle separated devices and special files.
Wayne Davison [Thu, 26 Jan 2006 10:38:58 +0000 (10:38 +0000)]
Handle separated devices and special files.

18 years agoDocument the new --specials option and how -D and --devices now work.
Wayne Davison [Thu, 26 Jan 2006 10:38:54 +0000 (10:38 +0000)]
Document the new --specials option and how -D and --devices now work.

18 years agoOne more minor tweak.
Wayne Davison [Wed, 25 Jan 2006 17:34:39 +0000 (17:34 +0000)]
One more minor tweak.

18 years agoDecided to hold off on the potential memory savings of indexed
Wayne Davison [Wed, 25 Jan 2006 17:10:29 +0000 (17:10 +0000)]
Decided to hold off on the potential memory savings of indexed
uid/gid pairs until the next release.

18 years agoAdded testing of the --itemize-changes output for devices.
Wayne Davison [Tue, 24 Jan 2006 22:23:51 +0000 (22:23 +0000)]
Added testing of the --itemize-changes output for devices.

18 years agoChanged to handle removed 'a' slot in %i output.
Wayne Davison [Tue, 24 Jan 2006 22:23:14 +0000 (22:23 +0000)]
Changed to handle removed 'a' slot in %i output.

18 years agoFixed a problem in the output of %i's 'T' flag on devices and
Wayne Davison [Tue, 24 Jan 2006 22:22:17 +0000 (22:22 +0000)]
Fixed a problem in the output of %i's 'T' flag on devices and
got rid of the unused 'a' flag.

18 years agoGot rid of the description of 'a' in the %i flags.
Wayne Davison [Tue, 24 Jan 2006 22:14:40 +0000 (22:14 +0000)]
Got rid of the description of 'a' in the %i flags.

18 years agoGot rid of some debug code.
Wayne Davison [Tue, 24 Jan 2006 21:40:43 +0000 (21:40 +0000)]
Got rid of some debug code.

18 years agoDump some debug code.
Wayne Davison [Tue, 24 Jan 2006 21:39:10 +0000 (21:39 +0000)]
Dump some debug code.

18 years agoOptimized id_pair() so that clumps of IDs get handled more
Wayne Davison [Tue, 24 Jan 2006 19:39:09 +0000 (19:39 +0000)]
Optimized id_pair() so that clumps of IDs get handled more
efficiently.

18 years agoThe uid & gid are now stored using an id_pair structure.
Wayne Davison [Tue, 24 Jan 2006 19:02:55 +0000 (19:02 +0000)]
The uid & gid are now stored using an id_pair structure.

18 years agoAnother small improvement to the --one-file-system option.
Wayne Davison [Tue, 24 Jan 2006 19:02:48 +0000 (19:02 +0000)]
Another small improvement to the --one-file-system option.

18 years agoThe in_del_hier code needs to use lastname instead of thisname
Wayne Davison [Tue, 24 Jan 2006 17:26:24 +0000 (17:26 +0000)]
The in_del_hier code needs to use lastname instead of thisname
because the latter gets cleaned and (possibly) sanitized.

18 years agoFERROR messages also need to leave leading newlines unmangled.
Wayne Davison [Tue, 24 Jan 2006 01:07:19 +0000 (01:07 +0000)]
FERROR messages also need to leave leading newlines unmangled.

18 years agoTweaked the copyright message.
Wayne Davison [Mon, 23 Jan 2006 18:48:12 +0000 (18:48 +0000)]
Tweaked the copyright message.

18 years agoMore improvements to the -x option (some from Matt & some from me).
Wayne Davison [Sun, 22 Jan 2006 21:04:21 +0000 (21:04 +0000)]
More improvements to the -x option (some from Matt & some from me).

18 years agoNew -x code had some problems, so restore the old code for now
Wayne Davison [Sun, 22 Jan 2006 20:37:00 +0000 (20:37 +0000)]
New -x code had some problems, so restore the old code for now
(keeping the more optimal stat() calling, though).

18 years agoNew -x code had some problems, so restore the old code for now.
Wayne Davison [Sun, 22 Jan 2006 20:30:56 +0000 (20:30 +0000)]
New -x code had some problems, so restore the old code for now.

18 years agoMatt's disambiguation.
Wayne Davison [Sat, 21 Jan 2006 21:02:13 +0000 (21:02 +0000)]
Matt's disambiguation.

18 years ago- Got rid of the filesystem_dev variable now that --one-file-system
Wayne Davison [Sat, 21 Jan 2006 20:59:19 +0000 (20:59 +0000)]
- Got rid of the filesystem_dev variable now that --one-file-system
  is handled in a new way.
- Moved a stat out of delete_in_dir() into do_delete_pass() to make
  --delete-during more efficient.
- Added a missing "#ifdef SUPPORT_LINKS...#endif" block around some
  symlink code.

18 years ago- Changed how --one-file-system works so that we can skip all mount
Wayne Davison [Sat, 21 Jan 2006 20:59:16 +0000 (20:59 +0000)]
- Changed how --one-file-system works so that we can skip all mount
  points (including "bind" mounts).
- The --chmod option now affects devices (only skipping symlinks).

18 years agoFixed a problem with the FLAG_* defines.
Wayne Davison [Sat, 21 Jan 2006 20:16:37 +0000 (20:16 +0000)]
Fixed a problem with the FLAG_* defines.

18 years agoDisable popt aliases when we're a server so that any user-redefined
Wayne Davison [Sat, 21 Jan 2006 20:15:49 +0000 (20:15 +0000)]
Disable popt aliases when we're a server so that any user-redefined
options can't cause a compatibility problem.

18 years agoA tweak to --dirs and --chmod.
Wayne Davison [Sat, 21 Jan 2006 19:55:47 +0000 (19:55 +0000)]
A tweak to --dirs and --chmod.

18 years agoUse the new saw_delete* variables to ensure that the server side
Wayne Davison [Sat, 21 Jan 2006 19:54:14 +0000 (19:54 +0000)]
Use the new saw_delete* variables to ensure that the server side
always reads the exclude information when it is present.