Commit Graph

  • a72885e042 Mention files-to-excludes. Wayne Davison 2006-01-30 21:54:00 +00:00
  • b587adda1f 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. Wayne Davison 2006-01-30 21:52:17 +00:00
  • 50fd4832c2 Mentioned the new "outgoing chmod" daemon option. Wayne Davison 2006-01-30 21:47:23 +00:00
  • c094d9320d Documented the new "outgoing chmod" daemon option. Wayne Davison 2006-01-30 21:47:08 +00:00
  • aaccaa887d Added support for the new "outgoing chmod" daemon option. Wayne Davison 2006-01-30 21:47:02 +00:00
  • 5481e42cd6 Mentioned the early-EOF bugfix (which was fixed a while ago). Wayne Davison 2006-01-30 20:09:46 +00:00
  • b3964d1d86 Improved the documentation for --force. Wayne Davison 2006-01-30 18:46:17 +00:00
  • e35d9f2d6d 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. Wayne Davison 2006-01-30 18:45:57 +00:00
  • 4d16780366 Allow --force to work even if --recurse was not specified. Wayne Davison 2006-01-30 18:35:54 +00:00
  • 1661fe9b0c Made get_dirlist() always include directories. Wayne Davison 2006-01-30 18:32:47 +00:00
  • 63344ad4e1 Mention the latest improvements. Wayne Davison 2006-01-30 18:19:55 +00:00
  • 90cf7d199f Allow a non-empty dir to be overwritten by a non-dir with all the delete options (--delete-after used to require --force). Wayne Davison 2006-01-30 18:14:02 +00:00
  • 730df9d222 If the module has defined an "incoming chmod" option, call parse_chmod() on it. Wayne Davison 2006-01-30 17:53:38 +00:00
  • 882d8c1cab Added the "incoming chmod" config option. Wayne Davison 2006-01-30 17:53:32 +00:00
  • 17af842d2d Document the new "incoming chmod" config option. Wayne Davison 2006-01-30 17:53:27 +00:00
  • bbe42182df Call the parse_chmod() with its new syntax. Wayne Davison 2006-01-30 17:53:19 +00:00
  • 81b096feef Changed the way the parse_chmod() function is called. Wayne Davison 2006-01-30 17:53:13 +00:00
  • 7627e92c54 Added extern for io_write_phase. Wayne Davison 2006-01-30 17:39:43 +00:00
  • f7bce90cf0 - Got rid of the externs for io_read_phase and io_write_phase. - Added stub definition for chmod_mode_struct. Wayne Davison 2006-01-30 17:39:34 +00:00
  • b33ce4c800 Moved the filter_outfile() function to rsync.fns. Wayne Davison 2006-01-30 08:12:17 +00:00
  • 757287d8a5 Moved the filter_outfile() function here since it was identical in devices.test and itemize.test. Wayne Davison 2006-01-30 08:11:50 +00:00
  • 3ed8eafccb The robust_rename() function now takes a "partialptr" arg that, if non-NULL, will be used if we are forced to copy the file. Wayne Davison 2006-01-30 07:18:16 +00:00
  • d8b1c923ef 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. Wayne Davison 2006-01-30 07:18:13 +00:00
  • 4a4d2b1ba0 Call finish_transfer() with a valid partialptr string, when appropriate. Wayne Davison 2006-01-30 07:18:10 +00:00
  • 12fa790ea0 Call finish_transfer() with its newly-added arg. Wayne Davison 2006-01-30 07:18:06 +00:00
  • 21955d9c92 Call robust_rename() with its newly-added arg. Wayne Davison 2006-01-30 07:18:03 +00:00
  • a0d9819f8c Document the side-effect that --partial-dir can have on --temp-dir. Wayne Davison 2006-01-30 07:18:00 +00:00
  • a9af5d8eba More improvements to --temp-dir. Wayne Davison 2006-01-30 06:34:57 +00:00
  • 65854cf91a Changed the mode arg from an int to a mode_t. Wayne Davison 2006-01-30 00:39:59 +00:00
  • 9ec1ef2535 Improved the --temp-dir description and a couple other sentences. Wayne Davison 2006-01-29 20:31:59 +00:00
  • 36119f6e2a - Renamed set_perms() to set_file_attrs(). - Use the renamed PERMS_* defines: ATTRS_*. Wayne Davison 2006-01-29 20:30:24 +00:00
  • e912bd4dfb - Use the renamed PERMS_* defines: ATTRS_*. - Call the new name of set_perms(): set_file_attrs(). Wayne Davison 2006-01-29 20:30:18 +00:00
  • c3ef136d41 Call the new name of set_perms(): set_file_attrs(). Wayne Davison 2006-01-29 20:30:12 +00:00
  • 8eda7a4bb8 Renamed the PERMS_* defines to ATTRS_* defines. Wayne Davison 2006-01-29 20:30:07 +00:00
  • 78d146e866 Use PERMSTRING_SIZE rather than a hard-wired "11". Wayne Davison 2006-01-29 20:30:02 +00:00
  • 77860bacd0 No need to send --partial when we're the receiver. Wayne Davison 2006-01-29 19:17:13 +00:00
  • 63cf5ae72c Made a bunch of char* args const. Wayne Davison 2006-01-29 18:52:53 +00:00
  • 120cde9562 Avoid forwarding the --temp-dir option to the server when we're the receiver. Wayne Davison 2006-01-29 07:19:38 +00:00
  • e6ffb966dd Made the new --prune-empty-dirs code a little more memory efficient. Wayne Davison 2006-01-28 19:20:02 +00:00
  • 207522aef5 Tweaked a variable name in flist_find(). Wayne Davison 2006-01-28 08:12:16 +00:00
  • a1cc199b34 We enforce at least protocol 29 for --prune-empty-dirs because the file-list's sort order can be slightly wrong in older versions. Wayne Davison 2006-01-28 07:40:52 +00:00
  • c22260706c Don't add the "protect" filter rule for backup-suffix filenames if --backup was not specified. Wayne Davison 2006-01-28 01:55:55 +00:00
  • d5782b52a2 - 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. Wayne Davison 2006-01-28 00:14:02 +00:00
  • 85aecef6c3 The user can now use a "protect" filter to avoid pruning one or more empty directories when --prune-empty-dirs is in effect. Wayne Davison 2006-01-28 00:13:59 +00:00
  • 876c993680 Changed --skip-empty-dirs (-k) to --prune-empty-dirs (-m). Wayne Davison 2006-01-28 00:13:55 +00:00
  • a272ff8c1b 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. Wayne Davison 2006-01-28 00:13:52 +00:00
  • 7402d58369 Improved flist_find()'s empty-entry handling to deal with the case where more entries may have been removed since the last find. Wayne Davison 2006-01-27 14:29:58 +00:00
  • c0b134a445 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(). Wayne Davison 2006-01-27 12:59:07 +00:00
  • a324d49bfc Mention the --skip-empty-dirs option. Wayne Davison 2006-01-27 01:20:11 +00:00
  • 9c000f5e7b Implement the new --skip-empty-dirs (-k) option. Wayne Davison 2006-01-27 00:32:57 +00:00
  • 0e887ef29a Added the --skip-empty-dirs (-k) option. Wayne Davison 2006-01-27 00:32:53 +00:00
  • fb72aaba48 Document the new --skip-empty-dirs (-k) option. Wayne Davison 2006-01-27 00:32:49 +00:00
  • a3869e9227 Include popt.h using <popt.h> instead of "popt.h". Wayne Davison 2006-01-26 22:32:59 +00:00
  • d671ccfc8e Mention the change in the --itemize-changes output. Wayne Davison 2006-01-26 22:32:18 +00:00
  • 35bf8fa084 - Include popt.h using <popt.h>, not "popt.h". - A minor twiddle in server_options(). Wayne Davison 2006-01-26 22:28:08 +00:00
  • f7916cbf3f Mention --sockopts and an improvement to the testsuite environment. Wayne Davison 2006-01-26 22:10:08 +00:00
  • 2b7dab686c The setting of HOME got moved to rsync.fns. Wayne Davison 2006-01-26 21:23:25 +00:00
  • a98cad00eb Set $HOME to $scratchdir so that our tests are not affected by anything unexpected, such as a ~/.popt file. Wayne Davison 2006-01-26 21:22:57 +00:00
  • facdce2c1f Fixed two typos. Wayne Davison 2006-01-26 12:41:52 +00:00
  • 34937987a6 Make use of the new sockopts variable. Wayne Davison 2006-01-26 12:31:47 +00:00
  • 831f06a5a5 Added the --sockopts option. Wayne Davison 2006-01-26 12:31:24 +00:00
  • 5fe3c86f25 Mention the --sockopts option. Wayne Davison 2006-01-26 12:31:14 +00:00
  • 04f48837d1 Document the new --sockopts option. Wayne Davison 2006-01-26 12:30:20 +00:00
  • f5b14759fb Mentioned the --super option. Wayne Davison 2006-01-26 11:14:10 +00:00
  • def97ff9a9 Added the --super option. Wayne Davison 2006-01-26 11:10:32 +00:00
  • d38772e06f Document the new --super option and how it affects other options. Wayne Davison 2006-01-26 11:10:28 +00:00
  • 351f5e2f6c Check MY_UID() directly instead of accessing am_root. Wayne Davison 2006-01-26 11:01:00 +00:00
  • 8778174936 Mention new --specials option and --devices change. Wayne Davison 2006-01-26 10:50:18 +00:00
  • e5f6a04d15 The itemized output for the fifo changed. Wayne Davison 2006-01-26 10:39:04 +00:00
  • f8d47c1cb4 Added 'S' to the itemized output for special files. Wayne Davison 2006-01-26 10:39:01 +00:00
  • b5c6a6aeeb Handle separated devices and special files. Wayne Davison 2006-01-26 10:38:58 +00:00
  • 4e7d07c8d4 Document the new --specials option and how -D and --devices now work. Wayne Davison 2006-01-26 10:38:54 +00:00
  • fc2dd77ec7 One more minor tweak. Wayne Davison 2006-01-25 17:34:39 +00:00
  • 7b6fa00ff8 Decided to hold off on the potential memory savings of indexed uid/gid pairs until the next release. Wayne Davison 2006-01-25 17:10:29 +00:00
  • 9ac3591366 Added testing of the --itemize-changes output for devices. Wayne Davison 2006-01-24 22:23:51 +00:00
  • 6a819e02da Changed to handle removed 'a' slot in %i output. Wayne Davison 2006-01-24 22:23:14 +00:00
  • 4cff7c50db Fixed a problem in the output of %i's 'T' flag on devices and got rid of the unused 'a' flag. Wayne Davison 2006-01-24 22:22:17 +00:00
  • 669302a172 Got rid of the description of 'a' in the %i flags. Wayne Davison 2006-01-24 22:14:40 +00:00
  • c738605098 Got rid of some debug code. Wayne Davison 2006-01-24 21:40:43 +00:00
  • 90cf838b18 Dump some debug code. Wayne Davison 2006-01-24 21:39:10 +00:00
  • 67e4043e8c Optimized id_pair() so that clumps of IDs get handled more efficiently. Wayne Davison 2006-01-24 19:39:09 +00:00
  • 5e58e3f9cf The uid & gid are now stored using an id_pair structure. Wayne Davison 2006-01-24 19:02:55 +00:00
  • 49140b27c6 Another small improvement to the --one-file-system option. Wayne Davison 2006-01-24 19:02:48 +00:00
  • 9cdadbb13a The in_del_hier code needs to use lastname instead of thisname because the latter gets cleaned and (possibly) sanitized. Wayne Davison 2006-01-24 17:26:24 +00:00
  • 0ace7b2567 FERROR messages also need to leave leading newlines unmangled. Wayne Davison 2006-01-24 01:07:19 +00:00
  • ccb8f5788b Tweaked the copyright message. Wayne Davison 2006-01-23 18:48:12 +00:00
  • 4e5baafedf More improvements to the -x option (some from Matt & some from me). Wayne Davison 2006-01-22 21:04:21 +00:00
  • 0e82af2d27 New -x code had some problems, so restore the old code for now (keeping the more optimal stat() calling, though). Wayne Davison 2006-01-22 20:37:00 +00:00
  • 535737bf39 New -x code had some problems, so restore the old code for now. Wayne Davison 2006-01-22 20:30:56 +00:00
  • 6e6cc16399 Matt's disambiguation. Wayne Davison 2006-01-21 21:02:13 +00:00
  • bb0d8edfad - 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. Wayne Davison 2006-01-21 20:59:19 +00:00
  • ebec5eb689 - 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). Wayne Davison 2006-01-21 20:59:16 +00:00
  • 5cb31dcf92 Fixed a problem with the FLAG_* defines. Wayne Davison 2006-01-21 20:16:37 +00:00
  • 0ccffd7c80 Disable popt aliases when we're a server so that any user-redefined options can't cause a compatibility problem. Wayne Davison 2006-01-21 20:15:49 +00:00
  • 57b66a2458 A tweak to --dirs and --chmod. Wayne Davison 2006-01-21 19:55:47 +00:00
  • b8a39ed58a Use the new saw_delete* variables to ensure that the server side always reads the exclude information when it is present. Wayne Davison 2006-01-21 19:54:14 +00:00
  • f5a910dd73 - We now set some saw_delete* vars to keep track of the case where we disabled a delete option that the client sent us (since we may still need to await exclude information from the client in such a case). - If -d and --delete are in effect without -r, we may need to send the -d to the server even if it was implied, and we may need to send --no-r to the server to ensure that we don't get into a protocol-corrupting situation should the remote rsync disable the --delete option (this works because the --no-r option was added in the same version as the functionality which allows --delete to work with -d sans -r. Wayne Davison 2006-01-21 19:52:55 +00:00
  • e16adcdff3 - Allow multiple --chmod options to be specified. - Call parse_chmod() with its new arg. Wayne Davison 2006-01-21 09:14:42 +00:00
  • cf9b4794fd Tweaked parse_chmod() so that it takes a pointer to an existing list of chmod items (or NULL) and appends the new items onto the end. Wayne Davison 2006-01-21 09:14:39 +00:00
  • 6d8c6bdbe5 Document the new --one-file-system behavior, with improvements to the option's text taken from Matt's patch in bugzilla. Wayne Davison 2006-01-21 08:10:45 +00:00