Commit Graph

  • 2dfe1c37ad Preparing for release of 2.6.5 v2.6.5 Wayne Davison 2005-06-02 03:57:58 +00:00
  • b9949780f4 Improved a few of the items. Wayne Davison 2005-06-02 03:54:00 +00:00
  • 5fe857d4be One more configure item. Wayne Davison 2005-06-01 16:21:41 +00:00
  • 3d86c6b18f Mention HAVE_REMSH fix. Wayne Davison 2005-05-31 06:09:42 +00:00
  • 0f0b2e66b8 Simplified the last change a bit. Wayne Davison 2005-05-27 18:15:18 +00:00
  • 5d24ee71ad Test for various past problems with --relative. Wayne Davison 2005-05-27 18:09:34 +00:00
  • 3a05c5d3ce If we unduplicate '.', make sure we also copy FLAG_DEL_HERE (in addition to FLAG_TOP_DIR), so that the unduplication of a real dir and an implied dir (implied by --relative) works right. Wayne Davison 2005-05-27 18:04:04 +00:00
  • 89ec535af5 - Only define HAVE_REMSH if it is going to have a non-0 value. - Got rid of ssh warning that was added for 2.6.0. Wayne Davison 2005-05-27 16:41:19 +00:00
  • e96d7972c4 Improved the opening comment. Wayne Davison 2005-05-26 18:00:09 +00:00
  • 962a3f0b6e Mention the latest bug-fix. Wayne Davison 2005-05-25 15:52:03 +00:00
  • cbb5fa4f07 Handle nested "." dirs (caused by --relative and a trailing slash or a trailing "/.") in f_name_cmp() when dirname is not an identical pointer. Wayne Davison 2005-05-25 01:24:01 +00:00
  • b57907efb2 Mention the output change for a mount-dir when -x is used. Wayne Davison 2005-05-22 20:53:18 +00:00
  • 26beb7861f - Don't stop deleting in a dir if one item fails. - Don't skip deleting in a dir if the initial rmdir fails (2.6.4 only continued if it was a non-empty error). Wayne Davison 2005-05-22 20:52:32 +00:00
  • 6e8b9f1341 Must check FLAG_MOUNT_POINT in delete_in_dir() to avoid starting a descent into a mounted directory when -x is specified. Wayne Davison 2005-05-22 17:19:16 +00:00
  • 6efe94167f Improved the SYMBOLIC LINKS section, as suggested by John. Wayne Davison 2005-05-20 17:57:31 +00:00
  • 51cc96e469 Improved a --files-from example (as suggested by Paul). Wayne Davison 2005-05-20 17:39:10 +00:00
  • bdedced84b Tweaked a sentence. Wayne Davison 2005-05-19 22:16:50 +00:00
  • f497ad722d Preparing for release of 2.6.5pre2 v2.6.5pre2 Wayne Davison 2005-05-19 21:45:41 +00:00
  • 339eb8943e Tweaked the opening comments. Wayne Davison 2005-05-19 21:42:20 +00:00
  • c36864e40e Mentioned the improved keep-alive code. Wayne Davison 2005-05-19 21:38:25 +00:00
  • af6155bb0e Clarifications related to --dirs. Wayne Davison 2005-05-19 21:36:30 +00:00
  • 605fed4b46 Periodically call maybe_send_keepalive() when timeouts are in effect (this ensures that the receiver doesn't timeout when we're still doing work reading data from the generator). Wayne Davison 2005-05-19 08:52:24 +00:00
  • ac40b74788 The global allowed_lull is now already set, so just set lull_mod. Wayne Davison 2005-05-19 08:52:22 +00:00
  • 3e6ddb3738 - Call the new set_io_timeout() function to set the timeout value. - If the user specified a shorter timeout than the config-file, don't override the shorter value. Wayne Davison 2005-05-19 08:52:19 +00:00
  • 9ac756c6ea - The variable allowed_lull is now our global. - Tweaked the --timeout option handling to call set_io_timeout(). Wayne Davison 2005-05-19 08:52:17 +00:00
  • 3b0a30eba8 - Added set_io_timeout(), which sets all the timeout-dependent variables when the timeout value changes. - Split last_io into last_io_in and last_io_out. - Made select_timeout static. Wayne Davison 2005-05-19 08:52:13 +00:00
  • bac7259081 The latest bug-fix. Wayne Davison 2005-05-19 00:02:29 +00:00
  • 4d474ad513 One place that was testing errno for ENOTEMPTY was failing to also test for EEXIST (which is returned by some OSes). Wayne Davison 2005-05-19 00:00:28 +00:00
  • e50e82ab40 Fixed a typo. Wayne Davison 2005-05-18 23:59:12 +00:00
  • 4922175589 Two more items. Wayne Davison 2005-05-17 15:08:05 +00:00
  • a289f89fbe Treat a trailing ".." dir-name as if "../" had been specified so that we don't use the name in the destination path and save files into a higher destination directory. Wayne Davison 2005-05-14 18:44:57 +00:00
  • ba64001df8 Mention the latest bug fix. Wayne Davison 2005-05-13 23:03:00 +00:00
  • b225b089b8 Have do_delete_pass() immediately return if list_only is set. Wayne Davison 2005-05-13 23:00:20 +00:00
  • 557a35f55b If adding a trailing dot to a directory name overflows MAXPATHLEN, die with an overflow error. Wayne Davison 2005-05-13 22:02:24 +00:00
  • 1848fd6fa1 An example filter script to maintain .cvsinclude files. Wayne Davison 2005-05-13 18:37:11 +00:00
  • f2a4853c93 Improved the use of the "remaining" var in readfd_unbuffered() to make certain that the static value is always set correctly anytime we call out to another function. Wayne Davison 2005-05-12 17:36:29 +00:00
  • e65154085c Got rid of some code from writefd_unbuffered() that was only needed back when the generator had a writeable pipe to the receiver. Wayne Davison 2005-05-12 07:45:21 +00:00
  • e4676bb59b Make the --stats output come out after any delete-after messages. Wayne Davison 2005-05-12 07:43:14 +00:00
  • 3b968014c9 Improved a few sentences. Wayne Davison 2005-05-12 07:34:45 +00:00
  • 21b9b93377 Fixed a typo. Wayne Davison 2005-05-10 18:31:46 +00:00
  • c4d1b2983d Preparing for release of 2.6.5pre1 v2.6.5pre1 Wayne Davison 2005-05-10 17:28:34 +00:00
  • 7d7a34aeb2 Added more missing NEWS items. Wayne Davison 2005-05-10 17:27:39 +00:00
  • 65c84700fc Mention two more changes. Wayne Davison 2005-05-10 16:55:22 +00:00
  • 5a727522f0 Refer to the rsync daemon as a "daemon", not a "server". This is to avoid confusion with the server that rsync runs in a normal remote-shell transfer. Wayne Davison 2005-05-10 16:14:26 +00:00
  • 1599754727 - Improved the GENERAL section. - Improved the description of --list-only. - Added a VERSION section, like the rsyncd.conf manpage. Wayne Davison 2005-05-10 16:04:02 +00:00
  • d90338cec6 Refer to the rsync daemon as a "daemon", not a "server". This is to avoid confusion with the server that rsync runs in a normal remote-shell transfer. Wayne Davison 2005-05-10 16:00:24 +00:00
  • d0e94abb40 Fixed one synopsis line to make the DEST arg optional. Wayne Davison 2005-05-09 15:39:24 +00:00
  • d8c4d6de10 Use new MAX_SERVER_ARGS define instead of hard-wired "100". Wayne Davison 2005-05-03 17:04:26 +00:00
  • 74ba98a51b There was no reason to have MAX_BASIS_DIRS factored into the length of the argstr[] array. Wayne Davison 2005-05-03 17:01:59 +00:00
  • c296031d9f Added MAX_SERVER_ARGS. Wayne Davison 2005-05-03 17:00:47 +00:00
  • 81c453b16a A few minor doc tweaks. Wayne Davison 2005-05-03 16:47:03 +00:00
  • 4a34c6f176 - Moved the --version option in the help text. - Tweaked the --log-format option's description. - Added a comment. Wayne Davison 2005-05-03 16:46:49 +00:00
  • 9b3150bd2e Mention the change in error message and exit status when we pull an empty file list. Wayne Davison 2005-05-03 16:45:40 +00:00
  • 6f2245c8fa Tweaked the checking of the "limit" in safe_fname(). Wayne Davison 2005-05-03 16:44:47 +00:00
  • 0f9941dc5a Fixed a typo. Wayne Davison 2005-05-03 16:03:31 +00:00
  • 060f31500b - Improved the comments on the backslash-escaped output, and moved it to the top in an "OUTPUT CHANGES" section. - Added a mention of the generator's new output-flushing optimization. Wayne Davison 2005-05-03 15:59:24 +00:00
  • 7c2a83c635 Improved a sentence. Wayne Davison 2005-05-03 15:58:06 +00:00
  • 97e3c50cd9 Mention the '?'-in-filenames change. Wayne Davison 2005-05-02 18:04:32 +00:00
  • b2360dabf6 Fixed some misspellings. Wayne Davison 2005-05-02 17:27:20 +00:00
  • 723160280f Tweaked the description of --from0. Wayne Davison 2005-05-02 17:23:08 +00:00
  • fa92818af3 Tweaked the doc for --from0. Wayne Davison 2005-05-02 17:22:42 +00:00
  • 289a32167c Moved the max-size checking code down so that it only checks regular files. Wayne Davison 2005-04-28 16:26:23 +00:00
  • 95e107db96 Moved the size-parsing code for --max-size into its own function. Wayne Davison 2005-04-28 16:11:32 +00:00
  • 513fd04d21 Set ignore_timeout before starting the transfer, regardless of what protocol level is in effect. This guards against the generator timing out when the output pipe is full and the input pipe (to the receiver) is slow. Wayne Davison 2005-04-27 22:58:06 +00:00
  • 7a16e12207 If the user specified --relative and a source dir with a trailing slash, make sure we strip of the trailing "/." from the dir's len (in del_hier_name_len) so that its subdirs get marked with FLAG_DEL_HERE. Wayne Davison 2005-04-27 22:56:47 +00:00
  • de8252f67f Added a new test to check how we interact with --link-dest and --copy-dest. Wayne Davison 2005-04-26 16:25:01 +00:00
  • 98e4741463 A slightly better fix than the last one (though it won't make any difference in how the code behaves due to how it is called). Wayne Davison 2005-04-26 16:09:03 +00:00
  • 028245a57b Mention newest fix. Wayne Davison 2005-04-26 15:25:43 +00:00
  • 2765f2e4a7 Fixed problem with -C when we're the sender, the remote is using an older protocol, and we're not sending the exclude list (i.e. the user didn't specify --delete or they specified --delete-ignored). Wayne Davison 2005-04-26 15:24:40 +00:00
  • 79db59d1a7 Try to make rsync's behavior w/o "--perms" a little clearer. Wayne Davison 2005-04-25 19:30:29 +00:00
  • c48cff9fbe Fixed two typos. Wayne Davison 2005-04-25 19:23:43 +00:00
  • f4b8e829e9 Mention fix for --one-file-system. Wayne Davison 2005-04-24 22:35:03 +00:00
  • 468d766819 Simplified the last change a little using a fix derived from Mike Castle's suggestion. Wayne Davison 2005-04-24 22:34:20 +00:00
  • f3ab64d3a8 When deleting files, we need to take any local FLAG_MOUNT_POINT flag-bit and put it into the regular flist's flags for that dir, and delete_in_dir() now refuses to delete a directory that has that bit set. Wayne Davison 2005-04-24 22:11:26 +00:00
  • a234bca4ef Reject any --remove-* options when read-only, just in case there are new ones added in the future. Wayne Davison 2005-04-24 16:19:16 +00:00
  • 42e9c7eb56 Mention the latest fixes. Wayne Davison 2005-04-24 00:34:39 +00:00
  • 9d19f8a5fe When rsync encountered an empty file list, it behaved differently when pulling files than when pushing files: pulling it output a (mostly) unhelpful error message and then exited with a 0 status, even when the remote side exited with an error code. I changed this to output the normal end summary (when verbose) and to exit with the status intact (just like when pushing files). Wayne Davison 2005-04-23 22:30:08 +00:00
  • 24e61cffe3 For those rare individuals without web access, mention how to send bug reports via email. Wayne Davison 2005-04-23 22:17:10 +00:00
  • 3556fe5d86 Fixed a problem where a --link-dest hard-link could cause us to miss out on the hard_link_cluster() call. Wayne Davison 2005-04-23 19:46:22 +00:00
  • ee887d98f6 Two more tests: - Update the hard-linked cluster and copy over the old versions. - Add a new hard-linked item down in a new subdir to make sure that the new file doesn't get handled before the subdir gets created. Wayne Davison 2005-04-23 18:20:47 +00:00
  • 5c7b1feb4c Added --no-whole-file option to one of the runs. Wayne Davison 2005-04-23 18:17:25 +00:00
  • 3cd5301f40 - Added a new function, maybe_hard_link(), which now holds the code (moved from hard_link_cluster()) that checks the inode/dev of an existing file and either does nothing (when properly linked), or removes the existing file before calling hard_link_one(). - Changed hard_link_check() so that it checks if the master item is marked with FINISHED_LINK (in its hlindex int), and if so, it finishes the current file by calling maybe_hard_link() (and marking it as finished too). Otherwise it marks the item as skipped by setting hlindex to SKIPPED_LINK. - Fixed the outputting of an error in hard_link_one() so that the message is always output when the caller did not request "terse" processing. - Changed hard_link_cluster() so that it marks the master item with FINISHED_LINK and then links only the skipped items (marking them with FINISHED_LINK too). Wayne Davison 2005-04-23 17:48:34 +00:00
  • d8169e6f6b - Call hard_link_check() with its new args. - Got rid of a duplicate error after the hard_link_one() call. Wayne Davison 2005-04-23 17:48:31 +00:00
  • c4833b024e Mention how a module reference doesn't need a trailing slash to copy its contents. Wayne Davison 2005-04-22 17:17:18 +00:00
  • 2a5d5a8cc4 If we're outputting a message about the remote file in a single-file transfer, we need to make sure that the file's name is the generic-transfer name and not a local name. Wayne Davison 2005-04-22 16:45:33 +00:00
  • f7112154e9 Moved "port" and "address" into the global section where they belong. Wayne Davison 2005-04-22 15:19:10 +00:00
  • f83051b2e3 Updated FSF's address and some minor non-license tweaks taken from the latest GPL file on the web. Wayne Davison 2005-04-17 08:25:50 +00:00
  • 2e42adb302 Simplified the newly added test so that it should stop sporadically failing. Wayne Davison 2005-04-16 07:34:49 +00:00
  • c09ebb8c04 Call rsync via $RSYNC. Wayne Davison 2005-04-15 17:39:35 +00:00
  • 042dc7360e Make sure that the $chkdir has the same mtime/etc. as the $fromdir. Wayne Davison 2005-04-15 17:26:27 +00:00
  • 7a6e294f7b Added a test that copies a single file with -H specified. Wayne Davison 2005-04-15 08:28:02 +00:00
  • 97e786c331 - Fixed a potential crash/infinite-loop bug if -H was used when sending a single file. - Made a couple variable improvements in link_idev_data(). - Got rid of the non-NULL check of hlink_list in init_hard_links() because is enough to just check file->link_u.links these days. Wayne Davison 2005-04-15 08:26:58 +00:00
  • 8ee6adefe3 Call logfile_close() and logfile_reopen() (tweaked function names). Wayne Davison 2005-04-14 16:08:12 +00:00
  • 64c37826e4 - Changed log_open() into two functions, logfile_open() and logfile_reopen(). - Changed log_close() into logfile_close(). - Improved the logic in logit(). Wayne Davison 2005-04-14 16:08:10 +00:00
  • 2e8015e0da Mention that less data is sent over the wire when --only-write-batch is used and we're pushing files to a remote system. Wayne Davison 2005-04-14 01:47:47 +00:00
  • 5b6281afcf Got rid of ITEM_DUMMY_BIT. Wayne Davison 2005-04-14 01:46:08 +00:00
  • e732fb0c4f - Got rid of the iflag kluge for 2.6.4pre3. - When we're handling --only-write-batch on the client side, we now send all index/header info to the receiver (not just to the batch file, like we do with the xfer data) so that the connection cannot timeout. Wayne Davison 2005-04-14 01:45:47 +00:00
  • b10917a426 Support the reception of a file-transfer header without xfer data when we're on the server side and --only-write-batch was specified. Wayne Davison 2005-04-14 01:42:13 +00:00
  • 7ae64260e0 Mention how the daemon handles a failure to open a user-specified "log file". Wayne Davison 2005-04-12 23:09:35 +00:00
  • f97f6bcd3a Mention how we now handle a log-file that the daemon can't open. Wayne Davison 2005-04-12 23:06:45 +00:00