Commit Graph

  • 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
  • 8bbe41b53b Handle the --chmod option as either the sender or the receiver so that only the client needs to know about --chmod (but if an older version sends the option to the server, we'll still handle it). Wayne Davison 2006-01-21 08:03:18 +00:00
  • ba30fb5c3c For a local rsync, turn off the --chmod option on the receiving side so that only the sending side does the work. Wayne Davison 2006-01-21 07:58:35 +00:00
  • 0938e8eee5 We don't ever need to send the --chmod option to the remote rsync. Wayne Davison 2006-01-21 07:53:40 +00:00
  • 3b17384631 Implemented the -xx behavior that skips mount-point dirs. Wayne Davison 2006-01-21 01:20:03 +00:00
  • 243c995f5f Allow the -x option to be repeated. Wayne Davison 2006-01-21 00:36:15 +00:00
  • 96b87581ff - Changed send_file_entry() into a static function again. - Made send_file_entry() derive the base_flag value from *file. - Added a flags arg to make_file(). - The flag we send to send_file_name() is a FLAG_* value, not an XMIT_* value. Wayne Davison 2006-01-20 21:21:43 +00:00
  • 3de73827d7 Call make_file() with one more arg (the base flags). Wayne Davison 2006-01-20 21:21:36 +00:00
  • 458aeea4a6 Mentioned the addition of -ii. Wayne Davison 2006-01-20 19:33:24 +00:00
  • 14cbb64539 Document the behavior of -ii. Wayne Davison 2006-01-20 18:52:52 +00:00
  • a9e4762634 Handle the extra output needed when log_format_has_i > 1. Wayne Davison 2006-01-20 18:49:38 +00:00
  • 487094a0d7 Allow the --itemize-changes (-i) option to be repeated to indicate that unchanged files should also be itemized. Wayne Davison 2006-01-20 18:49:07 +00:00
  • f608ebb106 Got rid of unused function u_strcmp(). Wayne Davison 2006-01-20 00:14:04 +00:00
  • 87001ac6c2 Improved a sentence. Wayne Davison 2006-01-19 21:21:28 +00:00
  • ede1f0ebc9 The code in send_file_list() needed a little more improvement to handle --relative really well: - We must set "is_dot_dir" when we strip off a trailing "/" or "/.". - If a trailing "/" or "/." caused us to treat a symlink as a dir, we now pass our stat() info down to make_file() so that it will always treat the cleaned-up name as a dir too. - We must not strip a leading "/". - Improved the check for ".." elements in the implied dirs. Wayne Davison 2006-01-19 21:16:44 +00:00
  • b435d7174c Added a new arg to the make_file() call. Wayne Davison 2006-01-19 21:16:40 +00:00
  • 2a59d2cc31 Another bugfix. Wayne Davison 2006-01-19 19:05:49 +00:00
  • b8595e609a In delete_in_dir(), skip a directory that isn't really a directory on the local disk (can easily happen if --dry-run was specified). Wayne Davison 2006-01-19 18:53:48 +00:00
  • d37bc73a48 Mention the changes made in recent checkins. Wayne Davison 2006-01-19 07:34:41 +00:00
  • 1902a7652f When --relative is active, simply trim off trailing slashes and dot dirs. Also, reject a ".." dir if it would be sent as part of the relative path. Wayne Davison 2006-01-19 01:43:10 +00:00
  • 6ab423a5b6 - Fixed the --help and --version output to avoid using embedded newlines (which are no longer allowed in rprint()). - Updated the Copyright info for 2006. Wayne Davison 2006-01-17 04:26:12 +00:00
  • c2be690cc6 Got rid of a few empty lines. Wayne Davison 2006-01-17 02:16:57 +00:00
  • f5a49d0e44 Got rid of a now-unused static variable. Wayne Davison 2006-01-17 01:26:35 +00:00
  • 03e23e0730 A few more items to check for, including libcharset.h, langinfo.h, locale_charset(), and nl_langinfo(). Wayne Davison 2006-01-15 14:52:12 +00:00
  • eb598fac4f - Improved get_local_name() using ideas from Matt McCutchen's version: lots more comments, and a "local name" copy now does a chdir to the parent dir of the destination file. - Moved the setlocale() call prior to the parse_arguments() call. Wayne Davison 2006-01-15 07:11:23 +00:00
  • be0602ec3c - We now filter all rwrite() output when it goes out to the terminal to make sure that it contains readable characters. - Got rid of the buf[len] = '\0' in rwrite(). - Call f_name() with revised args (which also replaces f_name_to()). Wayne Davison 2006-01-14 20:26:28 +00:00
  • 6cbde57d88 Call f_name() with revised args (which also replaces f_name_to()). Wayne Davison 2006-01-14 20:26:23 +00:00
  • 5e4ff5f9c5 Merged f_name() with f_name_to(). Wayne Davison 2006-01-14 20:26:20 +00:00
  • 18e1289f27 Defined new FNAME logcode enum (only used on the client side when logging a filename). Wayne Davison 2006-01-14 20:26:17 +00:00
  • 99aaa6ca25 Fixed a couple out-of-memory function-name strings in make_file(). Wayne Davison 2006-01-14 17:19:12 +00:00
  • 24172e4b2f If the --human-readable option is in effect, output the size of each file in human-readable units instead of a raw byte count. Wayne Davison 2006-01-14 17:10:52 +00:00
  • beaf495400 Added a "continue" missing from a recent change. Wayne Davison 2006-01-14 00:29:50 +00:00
  • 79f48760f3 Added --enable-iconv and cleaned up the other enable/disable options. Wayne Davison 2006-01-13 23:05:16 +00:00
  • 785abd4802 Got rid of the safe_fname() function and the calls to it. Wayne Davison 2006-01-13 22:06:34 +00:00
  • 0ee6ca9800 Got rid of calls to the (soon to vanish) safe_fname() function. Wayne Davison 2006-01-13 22:06:31 +00:00
  • 7543020807 Fixed a bug in the explode_mode code that was causing a crash on BSD systems. Wayne Davison 2006-01-13 21:40:26 +00:00
  • 47b50b9bd0 We now use lib/compat.o when building wildtest. Wayne Davison 2006-01-13 21:38:43 +00:00
  • 45c49b52a4 Got rid of calls to (the soon to vanish) safe_fname() function. Wayne Davison 2006-01-13 21:17:09 +00:00