Wayne Davison
ce5fddc3ed
Added a sleep so that the --delete-delay action will always tweak
...
the directory time, and reveal any lack of dir-time touch-up.
2006-12-29 00:56:25 +00:00
Wayne Davison
fd3f5af2aa
- Put directory retouching code into a separate function that
...
is now called for all our touch-up needs.
- Fixed a problem with --delete-delay interfering with the
directory-time touch-up in incremental mode.
2006-12-29 00:55:28 +00:00
Wayne Davison
dde5b77226
- My use of readfd_unbuffered() in read_msg_fd() really needed to be
...
readfd() so that the buffer is never partially filled.
- Make sure that msg2genr_flush() does not flush any messages while
the flist-forwarding is active.
- Changed io_flush() to honor its flush_it_all arg again.
2006-12-29 00:12:42 +00:00
Wayne Davison
f845ef7dec
An incremental-recursion transfer can't switch from delete-delay to
...
delete-after.
2006-12-28 19:02:01 +00:00
Wayne Davison
9ae7a2cddb
Use write_ndx() and read_ndx().
2006-12-28 18:49:13 +00:00
Wayne Davison
8a65e0ce00
Added write_ndx() and read_ndx(), functions that allow us to transmit
...
fewer bytes when exchanging the file-list index values.
2006-12-28 18:49:08 +00:00
Wayne Davison
98b1689dcb
Output a file-list message when verbose and using incremental recursion
...
mode.
2006-12-28 18:43:20 +00:00
Wayne Davison
012d1a01f5
Mention incremental recursion and change to --delete.
2006-12-28 16:40:24 +00:00
Wayne Davison
d9f46544a3
Document the incremental recursion algorithm and the change in the
...
--delete default.
2006-12-28 16:37:01 +00:00
Wayne Davison
42c6b13901
Restored the calling of send_file_entry() back to send_file_name()
...
(since the reason I had separated it no longer exists).
2006-12-28 15:43:30 +00:00
Wayne Davison
f1482c3391
Assign the owner and group using F_OWNER() and F_GROUP().
2006-12-28 09:42:48 +00:00
Wayne Davison
5bb7348509
- Define F_OWNER() and F_GROUP() to be used for assigning the UID and GID.
...
- F_UID() is now defined to return a uid_t value.
- F_GID() is now defined to return a gid_t value.
2006-12-28 09:42:44 +00:00
Wayne Davison
4c9d5fef07
Repositioned a misplaced assignment.
2006-12-28 08:57:25 +00:00
Wayne Davison
5607803376
- Added a sleep to make sure that the preservation of the mtime on
...
implied directories is working.
2006-12-28 07:54:47 +00:00
Wayne Davison
76e0a49efe
Handle slight differences in the output of protocol 30's incremental mode.
2006-12-28 07:54:44 +00:00
Wayne Davison
76a1013cc6
Use --delete-delay instead of --delete-after.
2006-12-28 07:54:41 +00:00
Wayne Davison
496c809f8c
- Made match_uid(), match_gid(), recv_user_name(), and recv_group_name()
...
public functions.
- Made add_uid() and add_gid() return the name or NULL.
2006-12-28 07:54:37 +00:00
Wayne Davison
3ac830b9f9
A few minor tweaks to handle the newest variable names.
2006-12-28 07:54:34 +00:00
Wayne Davison
f3d6d4800b
Handle the new incremental-recursion mode.
2006-12-28 07:54:31 +00:00
Wayne Davison
8ef246e0b5
- Handle the new incremental-recursion mode.
...
- Changed some function names to make them more consistent.
2006-12-28 07:54:27 +00:00
Wayne Davison
c7e6f84f89
New functions, variables, and file-list code to support the new
...
incremental-recursion mode.
2006-12-28 07:54:23 +00:00
Wayne Davison
fe04532ad2
New support function: change_local_filter_dir().
2006-12-28 07:54:19 +00:00
Wayne Davison
e4b619b46d
- Choose --delete-before or --delete-during depending on protocol version.
...
- Set incremental-recursion mode, if possible.
- Protocol 30 gets generator->sender messages enabled.
2006-12-28 07:54:16 +00:00
Wayne Davison
9ec3828b03
Some new defines for incremental-recursion mode.
2006-12-28 07:54:13 +00:00
Wayne Davison
e0e3203156
- Changes to handle new default of --delete-during for --delete.
...
- Allow -H to be repeated.
2006-12-28 07:54:10 +00:00
Wayne Davison
edb977215b
Only append_mode > 0 now indicates option is enabled.
2006-12-28 07:54:07 +00:00
Wayne Davison
18233a170e
Only sparse_files > 0 now indicates option is enabled.
2006-12-28 07:54:04 +00:00
Wayne Davison
283887d777
Neaten up use of uid_t/gid_t variable types.
2006-12-28 07:08:13 +00:00
Wayne Davison
c2f0e4d965
Don't include MATCHFLG_PERISHABLE in CVS-exclude handling unless
...
we're talking protocol 30 or above.
2006-12-28 06:27:22 +00:00
Wayne Davison
8576397c3e
Fix the building of mkrounding$(EXEEXT) when building outside the
...
source directory (provided by Art Haas).
2006-12-27 21:40:16 +00:00
Wayne Davison
c09af06d0c
Made the int_byte_cnt[] array 75% smaller.
2006-12-27 17:43:51 +00:00
Wayne Davison
ded73ed90f
Ignore all conftest* items, as Matt suggested.
2006-12-27 17:36:57 +00:00
Wayne Davison
f335eb1f83
Fix usage message.
2006-12-26 05:56:38 +00:00
Wayne Davison
7afa34fd27
Test --only-write-batch option.
2006-12-26 05:29:05 +00:00
Wayne Davison
1f56188f8c
Can just test ignore_errors w/o lp_ignore_errors(module_id) now.
2006-12-25 17:49:23 +00:00
Wayne Davison
3162ea6f67
Set ignore_errors variable based on lp_ignore_errors(module_id).
2006-12-25 17:49:19 +00:00
Wayne Davison
327c559aff
Improved the new --pasword-file error message.
2006-12-24 06:13:08 +00:00
Wayne Davison
99effefc81
Fixed a thinko in the last news item.
2006-12-24 05:47:21 +00:00
Wayne Davison
e8dad39518
Mention checking of --password-file's use.
2006-12-24 01:30:44 +00:00
Wayne Davison
09a54c399c
Make the --password-file option's summary even better.
2006-12-24 01:30:24 +00:00
Wayne Davison
9586e59370
Improved the docs for the --password-file option.
2006-12-24 00:58:30 +00:00
Wayne Davison
ce455b03e7
Improved the summary of the --password-file option.
2006-12-24 00:58:24 +00:00
Wayne Davison
a39da29ac5
If the user specified --password-file without using daemon mode,
...
complain and die.
2006-12-24 00:58:21 +00:00
Wayne Davison
794a0b6c25
Make use of the SHORT_SUM_LENGTH define.
2006-12-23 23:57:16 +00:00
Wayne Davison
1b81f797a2
Fixed a problem with the output of %f for non-daemon rsyncs.
2006-12-23 20:48:29 +00:00
Wayne Davison
889ae39d7a
Mention the %f fix.
2006-12-23 20:46:33 +00:00
Wayne Davison
5f4e991c70
Fixed the item numbers in the regex comment.
2006-12-20 00:50:17 +00:00
Wayne Davison
c96f6eb584
Call SIGACTION() instead of signal().
2006-12-18 07:24:24 +00:00
Wayne Davison
e10664c5e8
Moved the write_stream_flags() call from io.c into main.c so that
...
it gets called before the transfer starts (thus ensuring that it
can write out un-tweaked values of preserver_[ug]id vars).
2006-12-18 06:56:30 +00:00
Wayne Davison
99a957d3f4
Renamed flist_extra_cnt to file_extra_cnt.
2006-12-18 06:56:26 +00:00