Wayne Davison [Thu, 9 Jun 2005 22:27:59 +0000 (22:27 +0000)]
Test that our outputting of itemized messages (as well as
double-verbose output) is happening correctly.
Wayne Davison [Thu, 9 Jun 2005 22:27:22 +0000 (22:27 +0000)]
- Fixed the overzealous outputting of unchanged hard-linked items
when verbose > 1.
- An unchanged hard-link with -i (log-format w/%i) now changes the
trailing dots to spaces.
Wayne Davison [Thu, 9 Jun 2005 21:57:45 +0000 (21:57 +0000)]
Don't set ITEM_REPORT_TIME when a hard-linked file is already
linked up as it should be and --times was not enabled.
Wayne Davison [Thu, 9 Jun 2005 21:56:11 +0000 (21:56 +0000)]
- Never output the '"FOO" is a hard link' message when -i (%i)
output is enabled.
- Go back to outputting '"FOO" is a hard link' message when -i (%i)
is not enabled and verbose > 1.
Wayne Davison [Thu, 9 Jun 2005 21:18:26 +0000 (21:18 +0000)]
Updated version to 2.6.6cvs.
Wayne Davison [Thu, 2 Jun 2005 03:57:58 +0000 (03:57 +0000)]
Preparing for release of 2.6.5
Wayne Davison [Thu, 2 Jun 2005 03:54:00 +0000 (03:54 +0000)]
Improved a few of the items.
Wayne Davison [Wed, 1 Jun 2005 16:21:41 +0000 (16:21 +0000)]
One more configure item.
Wayne Davison [Tue, 31 May 2005 06:09:42 +0000 (06:09 +0000)]
Mention HAVE_REMSH fix.
Wayne Davison [Fri, 27 May 2005 18:15:18 +0000 (18:15 +0000)]
Simplified the last change a bit.
Wayne Davison [Fri, 27 May 2005 18:09:34 +0000 (18:09 +0000)]
Test for various past problems with --relative.
Wayne Davison [Fri, 27 May 2005 18:04:04 +0000 (18:04 +0000)]
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 [Fri, 27 May 2005 16:41:19 +0000 (16:41 +0000)]
- 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 [Thu, 26 May 2005 18:00:09 +0000 (18:00 +0000)]
Improved the opening comment.
Wayne Davison [Wed, 25 May 2005 15:52:03 +0000 (15:52 +0000)]
Mention the latest bug-fix.
Wayne Davison [Wed, 25 May 2005 01:24:01 +0000 (01:24 +0000)]
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 [Sun, 22 May 2005 20:53:18 +0000 (20:53 +0000)]
Mention the output change for a mount-dir when -x is used.
Wayne Davison [Sun, 22 May 2005 20:52:32 +0000 (20:52 +0000)]
- 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 [Sun, 22 May 2005 17:19:16 +0000 (17:19 +0000)]
Must check FLAG_MOUNT_POINT in delete_in_dir() to avoid starting a
descent into a mounted directory when -x is specified.
Wayne Davison [Fri, 20 May 2005 17:57:31 +0000 (17:57 +0000)]
Improved the SYMBOLIC LINKS section, as suggested by John.
Wayne Davison [Fri, 20 May 2005 17:39:10 +0000 (17:39 +0000)]
Improved a --files-from example (as suggested by Paul).
Wayne Davison [Thu, 19 May 2005 22:16:50 +0000 (22:16 +0000)]
Tweaked a sentence.
Wayne Davison [Thu, 19 May 2005 21:45:41 +0000 (21:45 +0000)]
Preparing for release of 2.6.5pre2
Wayne Davison [Thu, 19 May 2005 21:42:20 +0000 (21:42 +0000)]
Tweaked the opening comments.
Wayne Davison [Thu, 19 May 2005 21:38:25 +0000 (21:38 +0000)]
Mentioned the improved keep-alive code.
Wayne Davison [Thu, 19 May 2005 21:36:30 +0000 (21:36 +0000)]
Clarifications related to --dirs.
Wayne Davison [Thu, 19 May 2005 08:52:24 +0000 (08:52 +0000)]
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 [Thu, 19 May 2005 08:52:22 +0000 (08:52 +0000)]
The global allowed_lull is now already set, so just set lull_mod.
Wayne Davison [Thu, 19 May 2005 08:52:19 +0000 (08:52 +0000)]
- 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 [Thu, 19 May 2005 08:52:17 +0000 (08:52 +0000)]
- The variable allowed_lull is now our global.
- Tweaked the --timeout option handling to call set_io_timeout().
Wayne Davison [Thu, 19 May 2005 08:52:13 +0000 (08:52 +0000)]
- 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 [Thu, 19 May 2005 00:02:29 +0000 (00:02 +0000)]
The latest bug-fix.
Wayne Davison [Thu, 19 May 2005 00:00:28 +0000 (00:00 +0000)]
One place that was testing errno for ENOTEMPTY was failing to
also test for EEXIST (which is returned by some OSes).
Wayne Davison [Wed, 18 May 2005 23:59:12 +0000 (23:59 +0000)]
Fixed a typo.
Wayne Davison [Tue, 17 May 2005 15:08:05 +0000 (15:08 +0000)]
Two more items.
Wayne Davison [Sat, 14 May 2005 18:44:57 +0000 (18:44 +0000)]
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 [Fri, 13 May 2005 23:03:00 +0000 (23:03 +0000)]
Mention the latest bug fix.
Wayne Davison [Fri, 13 May 2005 23:00:20 +0000 (23:00 +0000)]
Have do_delete_pass() immediately return if list_only is set.
Wayne Davison [Fri, 13 May 2005 22:02:24 +0000 (22:02 +0000)]
If adding a trailing dot to a directory name overflows
MAXPATHLEN, die with an overflow error.
Wayne Davison [Fri, 13 May 2005 18:37:11 +0000 (18:37 +0000)]
An example filter script to maintain .cvsinclude files.
Wayne Davison [Thu, 12 May 2005 17:36:29 +0000 (17:36 +0000)]
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 [Thu, 12 May 2005 07:45:21 +0000 (07:45 +0000)]
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 [Thu, 12 May 2005 07:43:14 +0000 (07:43 +0000)]
Make the --stats output come out after any delete-after messages.
Wayne Davison [Thu, 12 May 2005 07:34:45 +0000 (07:34 +0000)]
Improved a few sentences.
Wayne Davison [Tue, 10 May 2005 18:31:46 +0000 (18:31 +0000)]
Fixed a typo.
Wayne Davison [Tue, 10 May 2005 17:28:34 +0000 (17:28 +0000)]
Preparing for release of 2.6.5pre1
Wayne Davison [Tue, 10 May 2005 17:27:39 +0000 (17:27 +0000)]
Added more missing NEWS items.
Wayne Davison [Tue, 10 May 2005 16:55:22 +0000 (16:55 +0000)]
Mention two more changes.
Wayne Davison [Tue, 10 May 2005 16:14:26 +0000 (16:14 +0000)]
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 [Tue, 10 May 2005 16:04:02 +0000 (16:04 +0000)]
- Improved the GENERAL section.
- Improved the description of --list-only.
- Added a VERSION section, like the rsyncd.conf manpage.
Wayne Davison [Tue, 10 May 2005 16:00:24 +0000 (16:00 +0000)]
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 [Mon, 9 May 2005 15:39:24 +0000 (15:39 +0000)]
Fixed one synopsis line to make the DEST arg optional.
Wayne Davison [Tue, 3 May 2005 17:04:26 +0000 (17:04 +0000)]
Use new MAX_SERVER_ARGS define instead of hard-wired "100".
Wayne Davison [Tue, 3 May 2005 17:01:59 +0000 (17:01 +0000)]
There was no reason to have MAX_BASIS_DIRS factored into the
length of the argstr[] array.
Wayne Davison [Tue, 3 May 2005 17:00:47 +0000 (17:00 +0000)]
Added MAX_SERVER_ARGS.
Wayne Davison [Tue, 3 May 2005 16:47:03 +0000 (16:47 +0000)]
A few minor doc tweaks.
Wayne Davison [Tue, 3 May 2005 16:46:49 +0000 (16:46 +0000)]
- Moved the --version option in the help text.
- Tweaked the --log-format option's description.
- Added a comment.
Wayne Davison [Tue, 3 May 2005 16:45:40 +0000 (16:45 +0000)]
Mention the change in error message and exit status when we pull an
empty file list.
Wayne Davison [Tue, 3 May 2005 16:44:47 +0000 (16:44 +0000)]
Tweaked the checking of the "limit" in safe_fname().
Wayne Davison [Tue, 3 May 2005 16:03:31 +0000 (16:03 +0000)]
Fixed a typo.
Wayne Davison [Tue, 3 May 2005 15:59:24 +0000 (15:59 +0000)]
- 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 [Tue, 3 May 2005 15:58:06 +0000 (15:58 +0000)]
Improved a sentence.
Wayne Davison [Mon, 2 May 2005 18:04:32 +0000 (18:04 +0000)]
Mention the '?'-in-filenames change.
Wayne Davison [Mon, 2 May 2005 17:27:20 +0000 (17:27 +0000)]
Fixed some misspellings.
Wayne Davison [Mon, 2 May 2005 17:23:08 +0000 (17:23 +0000)]
Tweaked the description of --from0.
Wayne Davison [Mon, 2 May 2005 17:22:42 +0000 (17:22 +0000)]
Tweaked the doc for --from0.
Wayne Davison [Thu, 28 Apr 2005 16:26:23 +0000 (16:26 +0000)]
Moved the max-size checking code down so that it only checks
regular files.
Wayne Davison [Thu, 28 Apr 2005 16:11:32 +0000 (16:11 +0000)]
Moved the size-parsing code for --max-size into its own function.
Wayne Davison [Wed, 27 Apr 2005 22:58:06 +0000 (22:58 +0000)]
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 [Wed, 27 Apr 2005 22:56:47 +0000 (22:56 +0000)]
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 [Tue, 26 Apr 2005 16:25:01 +0000 (16:25 +0000)]
Added a new test to check how we interact with --link-dest and
--copy-dest.
Wayne Davison [Tue, 26 Apr 2005 16:09:03 +0000 (16:09 +0000)]
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 [Tue, 26 Apr 2005 15:25:43 +0000 (15:25 +0000)]
Mention newest fix.
Wayne Davison [Tue, 26 Apr 2005 15:24:40 +0000 (15:24 +0000)]
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 [Mon, 25 Apr 2005 19:30:29 +0000 (19:30 +0000)]
Try to make rsync's behavior w/o "--perms" a little clearer.
Wayne Davison [Mon, 25 Apr 2005 19:23:43 +0000 (19:23 +0000)]
Fixed two typos.
Wayne Davison [Sun, 24 Apr 2005 22:35:03 +0000 (22:35 +0000)]
Mention fix for --one-file-system.
Wayne Davison [Sun, 24 Apr 2005 22:34:20 +0000 (22:34 +0000)]
Simplified the last change a little using a fix derived from
Mike Castle's suggestion.
Wayne Davison [Sun, 24 Apr 2005 22:11:26 +0000 (22:11 +0000)]
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 [Sun, 24 Apr 2005 16:19:16 +0000 (16:19 +0000)]
Reject any --remove-* options when read-only, just in case there
are new ones added in the future.
Wayne Davison [Sun, 24 Apr 2005 00:34:39 +0000 (00:34 +0000)]
Mention the latest fixes.
Wayne Davison [Sat, 23 Apr 2005 22:30:08 +0000 (22:30 +0000)]
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 [Sat, 23 Apr 2005 22:17:10 +0000 (22:17 +0000)]
For those rare individuals without web access, mention how to
send bug reports via email.
Wayne Davison [Sat, 23 Apr 2005 19:46:22 +0000 (19:46 +0000)]
Fixed a problem where a --link-dest hard-link could cause us to
miss out on the hard_link_cluster() call.
Wayne Davison [Sat, 23 Apr 2005 18:20:47 +0000 (18:20 +0000)]
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 [Sat, 23 Apr 2005 18:17:25 +0000 (18:17 +0000)]
Added --no-whole-file option to one of the runs.
Wayne Davison [Sat, 23 Apr 2005 17:48:34 +0000 (17:48 +0000)]
- 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 [Sat, 23 Apr 2005 17:48:31 +0000 (17:48 +0000)]
- Call hard_link_check() with its new args.
- Got rid of a duplicate error after the hard_link_one() call.
Wayne Davison [Fri, 22 Apr 2005 17:17:18 +0000 (17:17 +0000)]
Mention how a module reference doesn't need a trailing slash
to copy its contents.
Wayne Davison [Fri, 22 Apr 2005 16:45:33 +0000 (16:45 +0000)]
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 [Fri, 22 Apr 2005 15:19:10 +0000 (15:19 +0000)]
Moved "port" and "address" into the global section where they
belong.
Wayne Davison [Sun, 17 Apr 2005 08:25:50 +0000 (08:25 +0000)]
Updated FSF's address and some minor non-license tweaks taken
from the latest GPL file on the web.
Wayne Davison [Sat, 16 Apr 2005 07:34:49 +0000 (07:34 +0000)]
Simplified the newly added test so that it should stop sporadically
failing.
Wayne Davison [Fri, 15 Apr 2005 17:39:35 +0000 (17:39 +0000)]
Call rsync via $RSYNC.
Wayne Davison [Fri, 15 Apr 2005 17:26:27 +0000 (17:26 +0000)]
Make sure that the $chkdir has the same mtime/etc. as the
$fromdir.
Wayne Davison [Fri, 15 Apr 2005 08:28:02 +0000 (08:28 +0000)]
Added a test that copies a single file with -H specified.
Wayne Davison [Fri, 15 Apr 2005 08:26:58 +0000 (08:26 +0000)]
- 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 [Thu, 14 Apr 2005 16:08:12 +0000 (16:08 +0000)]
Call logfile_close() and logfile_reopen() (tweaked function names).
Wayne Davison [Thu, 14 Apr 2005 16:08:10 +0000 (16:08 +0000)]
- Changed log_open() into two functions, logfile_open() and
logfile_reopen().
- Changed log_close() into logfile_close().
- Improved the logic in logit().
Wayne Davison [Thu, 14 Apr 2005 01:47:47 +0000 (01:47 +0000)]
Mention that less data is sent over the wire when --only-write-batch
is used and we're pushing files to a remote system.