Wayne Davison
47780ddfef
Mention the new keep-alive handling and the devices-size fix.
2005-02-26 19:17:06 +00:00
Wayne Davison
251f22b5d7
Fixed a line-ordering problem.
2005-02-26 19:11:57 +00:00
Wayne Davison
4e0fcd85ae
Handle keep-alive messages at the end of the transfer when
...
--delete-after is happening.
2005-02-26 18:57:57 +00:00
Wayne Davison
59faec8b8b
- Moved all the file-deletion code here from flist.c and receiver.c.
...
- Call maybe_send_keepalive() from delete_in_dir() so that a really
long delete-pass won't timeout.
- Renamed delete_files() -> do_delete_pass().
- Renamed delete_file() -> delete_item().
- Call get_dirlist() with its new arg.
2005-02-26 18:03:49 +00:00
Wayne Davison
32cbfe7b17
- Moved file-deletion code into generator.c.
...
- Made filesystem_dev a global that the generator can set during its
delete pass.
- Fixed an off-by-one boundary check in send_directory().
- Added an arg to get_dirlist() so that delete_in_dir() can call it
efficiently.
2005-02-26 18:03:46 +00:00
Wayne Davison
f08ca43472
Moved the delete-after support into generator.c.
2005-02-26 18:03:42 +00:00
Wayne Davison
8eb6cf784b
Moved the delete-before support into generator.c.
2005-02-26 18:03:40 +00:00
Wayne Davison
7433d73adc
- Moved the initialization of "itemizing", "maybe_PERMS_REPORT", and
...
"code" from recv_generator() to generate_files() so that they
don't get recomputed for every file (we pass them as args now).
- Allow protocols < 29 to call maybe_send_keepalive() so that we can
try to flush the output buffer if things are slow (though we can't
send a keep-alive packet without protocol_version >= 29).
2005-02-26 06:52:55 +00:00
Wayne Davison
3221f451a0
Calling maybe_send_keepalive() for protocol_version < 29 is
...
now supported, though we can only try to flush the output
buffer if we're in a lull.
2005-02-26 06:43:15 +00:00
Wayne Davison
9e4536748d
- Moved the description of '%i's output into the rsync manpage.
...
- A few minor tweaks to the "log format" setting.
2005-02-26 05:18:03 +00:00
Wayne Davison
ea67c71505
- We now mention what "%i" outputs under --itemize-changes.
...
- Improved the description of --log-format.
2005-02-26 05:16:26 +00:00
Wayne Davison
ea38b5af72
Mention the change in when --log-format outputs and how it
...
interacts with --verbose.
2005-02-26 05:11:46 +00:00
Wayne Davison
89d19eedef
Call log_delete() from delete_file() anytime that DEL_TERSE is
...
not set (we used to only call if verbose or log_format were also
set).
2005-02-26 04:50:55 +00:00
Wayne Davison
41b5b5e756
The log_delete() function may now be called even when the client is
...
not getting delete messages, which ensures that the daemon's log-
file output includes all deletions when per-file logging is enabled.
2005-02-26 04:49:30 +00:00
Wayne Davison
a3e1363aaa
Make sure that our protocol-28 compatibility is OK.
2005-02-26 03:22:05 +00:00
Wayne Davison
2217b30adf
Fixed a problem sending include rules to an older rsync.
2005-02-26 02:56:30 +00:00
Wayne Davison
9ac2395bf0
- Call maybe_send_keepalive() if timeouts are enabled.
...
- Use the new ignore_timeout variable.
2005-02-25 22:01:36 +00:00
Wayne Davison
9e2409ab22
- Added variable "ignore_timeout" that lets the generator tell
...
us to ignore a timeout without turning off the timeout-related
time-keeping that the keep-alive processing needs.
- Added a new function: maybe_send_keepalive().
2005-02-25 21:58:13 +00:00
Wayne Davison
8e6cf5d189
Accept the new keep-alive (no-op) packet.
2005-02-25 21:56:00 +00:00
Wayne Davison
d17190df44
Don't add st_size from a device to stats.total_size.
2005-02-25 20:28:27 +00:00
Wayne Davison
fbe5eeb831
Mention how --backup sometimes implies --omit-dir-times.
2005-02-25 17:10:48 +00:00
Wayne Davison
ed9d969c4c
Use the new am_starting_up value in who_am_i().
2005-02-25 17:08:57 +00:00
Wayne Davison
7f2a1f651e
Got rid of kluged value for am_sender, and instead added a new
...
variable named am_starting_up that is non-zero during the option
parsing. This lets the who_am_i() routine output a better value
for debugging info that is output during the option parsing.
2005-02-25 17:08:31 +00:00
Wayne Davison
bbbb44ee0f
Fixed some typos.
2005-02-25 02:30:38 +00:00
Wayne Davison
29fbd1eea6
Preparing for release of 2.6.4pre1
v2.6.4pre1
2005-02-23 03:22:53 +00:00
Wayne Davison
33f839b319
Tweaked an entry.
2005-02-23 03:17:11 +00:00
Wayne Davison
bc83274ad6
- Fixed a problem with full_fname() when curr_dir was "/".
...
- Made full_fname() consistently output a leading "/" for
module paths no matter if chroot is in use or not.
2005-02-23 02:56:42 +00:00
Wayne Davison
38e3910b6f
One more tweak to the need_name_pipe logic.
2005-02-23 02:14:00 +00:00
Wayne Davison
c26c51a7ee
Commenting out link-dest test for now.
2005-02-23 02:13:33 +00:00
Wayne Davison
e9973668a4
Got rid of --copy-dest references.
2005-02-23 02:07:09 +00:00
Wayne Davison
4104c3bf52
Changed --copy-dest to --link-dest.
2005-02-23 02:06:33 +00:00
Wayne Davison
b7c2481933
Got rid of --copy-dest for now -- I think it should be made to do
...
the copying of unchanged files locally (like --link-dest does
using a hard link).
2005-02-23 02:05:34 +00:00
Wayne Davison
cfb691ac9a
Fixed a problem with the last change.
2005-02-22 22:13:04 +00:00
Wayne Davison
cb8240a291
We need the name-pipe for --inplace these days.
2005-02-22 22:13:02 +00:00
Wayne Davison
352963ddc3
Always set the SID_USING_ALT_BASIS appropriately for the transfer,
...
even if --inplace wasn't specified.
2005-02-22 22:12:59 +00:00
Wayne Davison
8c57732324
More cleanups.
2005-02-22 21:56:32 +00:00
Wayne Davison
8a33c406b3
Trying to fix bug #2357 .
2005-02-22 21:48:10 +00:00
Wayne Davison
340bd68f59
We now look for the ITEM_USING_ALT_BASIS flag for an --inplace
...
transer that is using an alternate basis file (instead of reading
an extra byte after the flag word).
2005-02-22 21:43:59 +00:00
Wayne Davison
8237f9305b
We now set the ITEM_USING_ALT_BASIS flag for an --inplace transfer
...
that is using an alternate basis file (instead of sending an extra
byte after the flag word).
2005-02-22 21:43:57 +00:00
Wayne Davison
5b1c1eefda
Added ITEM_USING_ALT_BASIS.
2005-02-22 21:43:54 +00:00
Wayne Davison
6258626751
Document an alternate way to achieve the effect of this script
...
through the use of awk and the more powerful --filter option.
2005-02-22 21:24:24 +00:00
Wayne Davison
87fd439059
When preforming a recursive delete, push/pop the per-dir merge rules.
2005-02-22 20:42:55 +00:00
Wayne Davison
564ef546a9
Sort the dir-list returned by get_dirlist() and the dir-list that
...
delete_in_dir() generates.
2005-02-22 03:37:18 +00:00
Wayne Davison
94dcbf8367
- Iterate through the deletion list in reverse order so that we
...
can't delete a backup file that we just created.
- The rename-directory-for-backup heuristic now checks the
DEL_FORCE_RECURSE flag, not the zap_dir variable. We also set
the flag when we recurse so that only the root dir of a deleted
hierarchy can be missing the flag (and thus be a call from the
generator).
2005-02-22 03:16:41 +00:00
Wayne Davison
1bad11c759
Only rename a directory with the backup suffix if we're removing
...
it to replace it with a file of the same name.
2005-02-22 01:59:15 +00:00
Wayne Davison
ba679d5194
In make_simple_backup(), if the rename() failed because we tried
...
to rename a directory over a file or visa versa, try to handle it.
2005-02-22 01:57:58 +00:00
Wayne Davison
e1ad7fe63d
A couple changes in delete_file() make us more compatible with
...
older versions: (1) we no longer complain if excluded files
sticking around cause us to not be able to remove a subdir, and
(2) we output the name of the removed subdir after it has been
successfully removed.
2005-02-22 00:42:12 +00:00
Wayne Davison
f18d87b6ed
Added function check for vasprintf.
2005-02-21 18:58:09 +00:00
Wayne Davison
a6c15e9a38
- Added function tests for va_copy and __va_copy for snprintf.c code.
...
- Added AC_C_LONG_DOUBLE for snprintf.c code.
- Got rid of unneeded ino_t check.
2005-02-21 17:08:09 +00:00
Wayne Davison
64bba1465b
Check SIZEOF_LONG_LONG instead of HAVE_LONG_LONG.
2005-02-21 17:02:53 +00:00