Wayne Davison
fc2dd77ec7
One more minor tweak.
2006-01-25 17:34:39 +00:00
Wayne Davison
7b6fa00ff8
Decided to hold off on the potential memory savings of indexed
...
uid/gid pairs until the next release.
2006-01-25 17:10:29 +00:00
Wayne Davison
9ac3591366
Added testing of the --itemize-changes output for devices.
2006-01-24 22:23:51 +00:00
Wayne Davison
6a819e02da
Changed to handle removed 'a' slot in %i output.
2006-01-24 22:23:14 +00:00
Wayne Davison
4cff7c50db
Fixed a problem in the output of %i's 'T' flag on devices and
...
got rid of the unused 'a' flag.
2006-01-24 22:22:17 +00:00
Wayne Davison
669302a172
Got rid of the description of 'a' in the %i flags.
2006-01-24 22:14:40 +00:00
Wayne Davison
c738605098
Got rid of some debug code.
2006-01-24 21:40:43 +00:00
Wayne Davison
90cf838b18
Dump some debug code.
2006-01-24 21:39:10 +00:00
Wayne Davison
67e4043e8c
Optimized id_pair() so that clumps of IDs get handled more
...
efficiently.
2006-01-24 19:39:09 +00:00
Wayne Davison
5e58e3f9cf
The uid & gid are now stored using an id_pair structure.
2006-01-24 19:02:55 +00:00
Wayne Davison
49140b27c6
Another small improvement to the --one-file-system option.
2006-01-24 19:02:48 +00:00
Wayne Davison
9cdadbb13a
The in_del_hier code needs to use lastname instead of thisname
...
because the latter gets cleaned and (possibly) sanitized.
2006-01-24 17:26:24 +00:00
Wayne Davison
0ace7b2567
FERROR messages also need to leave leading newlines unmangled.
2006-01-24 01:07:19 +00:00
Wayne Davison
ccb8f5788b
Tweaked the copyright message.
2006-01-23 18:48:12 +00:00
Wayne Davison
4e5baafedf
More improvements to the -x option (some from Matt & some from me).
2006-01-22 21:04:21 +00:00
Wayne Davison
0e82af2d27
New -x code had some problems, so restore the old code for now
...
(keeping the more optimal stat() calling, though).
2006-01-22 20:37:00 +00:00
Wayne Davison
535737bf39
New -x code had some problems, so restore the old code for now.
2006-01-22 20:30:56 +00:00
Wayne Davison
6e6cc16399
Matt's disambiguation.
2006-01-21 21:02:13 +00:00
Wayne Davison
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.
2006-01-21 20:59:19 +00:00
Wayne Davison
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).
2006-01-21 20:59:16 +00:00
Wayne Davison
5cb31dcf92
Fixed a problem with the FLAG_* defines.
2006-01-21 20:16:37 +00:00
Wayne Davison
0ccffd7c80
Disable popt aliases when we're a server so that any user-redefined
...
options can't cause a compatibility problem.
2006-01-21 20:15:49 +00:00
Wayne Davison
57b66a2458
A tweak to --dirs and --chmod.
2006-01-21 19:55:47 +00:00
Wayne Davison
b8a39ed58a
Use the new saw_delete* variables to ensure that the server side
...
always reads the exclude information when it is present.
2006-01-21 19:54:14 +00:00
Wayne Davison
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.
2006-01-21 19:52:55 +00:00
Wayne Davison
e16adcdff3
- Allow multiple --chmod options to be specified.
...
- Call parse_chmod() with its new arg.
2006-01-21 09:14:42 +00:00
Wayne Davison
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.
2006-01-21 09:14:39 +00:00
Wayne Davison
6d8c6bdbe5
Document the new --one-file-system behavior, with improvements to
...
the option's text taken from Matt's patch in bugzilla.
2006-01-21 08:10:45 +00:00
Wayne Davison
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).
2006-01-21 08:03:18 +00:00
Wayne Davison
ba30fb5c3c
For a local rsync, turn off the --chmod option on the receiving
...
side so that only the sending side does the work.
2006-01-21 07:58:35 +00:00
Wayne Davison
0938e8eee5
We don't ever need to send the --chmod option to the remote rsync.
2006-01-21 07:53:40 +00:00
Wayne Davison
3b17384631
Implemented the -xx behavior that skips mount-point dirs.
2006-01-21 01:20:03 +00:00
Wayne Davison
243c995f5f
Allow the -x option to be repeated.
2006-01-21 00:36:15 +00:00
Wayne Davison
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.
2006-01-20 21:21:43 +00:00
Wayne Davison
3de73827d7
Call make_file() with one more arg (the base flags).
2006-01-20 21:21:36 +00:00
Wayne Davison
458aeea4a6
Mentioned the addition of -ii.
2006-01-20 19:33:24 +00:00
Wayne Davison
14cbb64539
Document the behavior of -ii.
2006-01-20 18:52:52 +00:00
Wayne Davison
a9e4762634
Handle the extra output needed when log_format_has_i > 1.
2006-01-20 18:49:38 +00:00
Wayne Davison
487094a0d7
Allow the --itemize-changes (-i) option to be repeated to indicate
...
that unchanged files should also be itemized.
2006-01-20 18:49:07 +00:00
Wayne Davison
f608ebb106
Got rid of unused function u_strcmp().
2006-01-20 00:14:04 +00:00
Wayne Davison
87001ac6c2
Improved a sentence.
2006-01-19 21:21:28 +00:00
Wayne Davison
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.
2006-01-19 21:16:44 +00:00
Wayne Davison
b435d7174c
Added a new arg to the make_file() call.
2006-01-19 21:16:40 +00:00
Wayne Davison
2a59d2cc31
Another bugfix.
2006-01-19 19:05:49 +00:00
Wayne Davison
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).
2006-01-19 18:53:48 +00:00
Wayne Davison
d37bc73a48
Mention the changes made in recent checkins.
2006-01-19 07:34:41 +00:00
Wayne Davison
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.
2006-01-19 01:43:10 +00:00
Wayne Davison
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.
2006-01-17 04:26:12 +00:00
Wayne Davison
c2be690cc6
Got rid of a few empty lines.
2006-01-17 02:16:57 +00:00
Wayne Davison
f5a49d0e44
Got rid of a now-unused static variable.
2006-01-17 01:26:35 +00:00