Wayne Davison
d3d07a5e86
Include 2008 in the copyright years.
2008-03-01 12:01:41 -08:00
Wayne Davison
01103e1870
Make do_recv() reset copy_unsafe_links too (just like it does for
...
copy_links and copy_dirlinks).
2008-02-09 21:33:13 -08:00
Wayne Davison
42a28d9d3a
Improved a comment.
2008-01-26 09:13:19 -08:00
Wayne Davison
19284e2ef8
When removing a file/dir that is owned by us but does not have
...
owner-write permission, set it before the removal.
2008-01-26 08:47:02 -08:00
Wayne Davison
641dc0c51e
Output (BATCH ONLY) rather than (DRY RUN) for --only-write-batch.
2008-01-19 11:20:42 -08:00
Wayne Davison
a10186910d
Fixed the check_filter() calls that might be checking an absolute path
...
in "use chroot = no" mode against a daemon's exclude restriction.
2007-12-16 14:16:37 -08:00
Wayne Davison
ce27f36d92
Check on the alternate destination dirs and report any problems.
2007-12-15 08:19:56 -08:00
Wayne Davison
ba22c9e219
Adding --contimeout=SECONDS option.
2007-11-28 00:28:26 -08:00
Wayne Davison
3f0211b63a
New logging categories added to allow differentiation between
...
transfer errors, normal errors, and warnings. New messages are
translated into old FERROR/FINFO categories for older protocols.
2007-11-22 10:05:36 -08:00
Wayne Davison
29bca53f9b
Got rid of the unused symlink parameter to sanitize_path().
2007-11-20 17:37:53 -08:00
Wayne Davison
879b6ad05c
When performing a --dry-run, output a "(DRY RUN)" reminder on the
...
last line of the verbose summary text.
2007-11-09 04:48:10 +00:00
Wayne Davison
e844a4a8a8
When listing a bare module name w/o -r, make sure we list the
...
contents of the module's root directory.
2007-10-27 02:19:49 +00:00
Wayne Davison
ea4e8cf8a1
Call set_allow_inc_recurse() for situations that don't call server_options().
2007-10-16 15:10:17 +00:00
Wayne Davison
44c4492acf
Conditionalize the call to setup_iconv().
2007-10-10 19:24:35 +00:00
Wayne Davison
b61665d5b6
Reposition the call to setup_iconv() so that it gets called only once
...
is a local_server copy, and so that arg-parsing code doesn't interfere
with the sending of a remote charset value.
2007-10-07 20:43:49 +00:00
Wayne Davison
26bbb6aa4b
Set xfer_dirs when we set list_only.
2007-10-07 03:52:24 +00:00
Wayne Davison
a960239f39
Allow additional remote args to contain an identical hostname instead
...
of requiring it to be empty. This allows for the easy use of braces:
rsync -av host:file{1,2} /dest/
2007-09-30 07:14:16 +00:00
Wayne Davison
7341ee2dfd
Fixed a crash bug in get_local_name() when the file list is empty.
2007-09-23 21:54:03 +00:00
Wayne Davison
1b42f628f4
Moved inline functions from rsync.h into ifuncs.h.
2007-09-22 16:52:58 +00:00
Wayne Davison
71605b0f4d
- Make use of new iconvbufs() function.
...
- Convert protected args when -s and --iconv are active.
- Simplified the splitting of args between normal and protected.
- Relocated setup_iconv() call so that it takes effect earlier.
2007-09-18 01:11:49 +00:00
Wayne Davison
288b12eefe
We set FLAG_DIR_CREATED on a dot dir that got created by
...
get_local_name() rather than using the (now removed)
new_root_dir global.
2007-09-15 19:58:12 +00:00
Wayne Davison
da1319128a
- Parse hard-link info as soon as we get it in inc_recurse mode.
...
- Improve the chances of the generator finding a match for a
hard-link file in inc_recurse mode.
2007-09-15 15:40:57 +00:00
Wayne Davison
f7e5068d94
- If the user specifies a source arg with a hostspec in it in a local-
...
source transer, complain and exit. This can help to find option
problems were an arg to an option turns into a local-source arg,
and the real remote-source arg will now get rejected rather than
attempting to find a file with a colon in its name.
- We now support the ability to specify more than one remote arg using
the ":FILENAME" idiom for additional remote filenames.
- If the --protect-args (-s) option was specified, we send just the
"--server -s" options to the remote rsync when it is starting, and
then the real args are sent over the socket.
2007-09-09 07:53:15 +00:00
Wayne Davison
d4d6646aae
Changes to allow hard-linking to work in inc_recurse mode.
2007-09-03 21:21:17 +00:00
Wayne Davison
e208631a5b
Improved the arg-checking of a daemon command.
2007-08-11 16:53:31 +00:00
Wayne Davison
8e41b68e8f
Tweaking the license text a bit more.
2007-07-10 13:55:49 +00:00
Wayne Davison
9decb4d2ef
Changed "count" to "used" in struct file_list since there can
...
be empty items that make the count inaccurate (and the name
somewhat deceiving).
2007-07-07 20:22:05 +00:00
Wayne Davison
4fd842f98d
Switching to GPL 3.
2007-07-07 05:33:14 +00:00
Wayne Davison
332cf6df7c
The --iconv option has now made it to the trunk.
2007-04-26 05:53:13 +00:00
Wayne Davison
a72ba0cfac
Call the new {read,write}_varlong30() names for the long-int
...
functions that are protocol sensitive.
2007-04-20 08:17:06 +00:00
Wayne Davison
16edf86595
The improved --xattrs option is landing on the trunk.
2007-04-07 17:22:25 +00:00
Wayne Davison
ba2133d6ad
Further modifications to the copyright comment section.
2007-02-04 14:54:58 +00:00
Wayne Davison
100018b7cd
Mention the year 2007 in the copyright declarations.
2007-01-31 21:46:49 +00:00
Wayne Davison
3ea6e0e7a1
Changed the variable "incremental" to "inc_recurse".
2007-01-27 14:56:09 +00:00
Wayne Davison
cc7b86bf9b
The last MSG_DONE from the receiver to the generator is now followed
...
by the stats.total_read value so that the generator can set its value
to that of the receiver. This makes log_exit() log the right value
when we're on the server side.
2007-01-27 14:34:15 +00:00
Wayne Davison
9ae7a2cddb
Use write_ndx() and read_ndx().
2006-12-28 18:49:13 +00:00
Wayne Davison
f3d6d4800b
Handle the new incremental-recursion mode.
2006-12-28 07:54:31 +00:00
Wayne Davison
327c559aff
Improved the new --pasword-file error message.
2006-12-24 06:13:08 +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
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
f05c801194
Moved the calls to init_hard_links() into flist.c.
2006-12-15 22:31:16 +00:00
Wayne Davison
89d730a098
Call the new hard-link init functions.
2006-12-09 00:24:01 +00:00
Wayne Davison
07613def0a
Some minor format tweaks.
2006-12-07 03:31:44 +00:00
Wayne Davison
d365e22967
The wait_process() call now handles EINTR.
2006-12-06 17:21:59 +00:00
Wayne Davison
1e1ca25343
#ifdef calls to hard-link functions.
2006-12-06 01:32:17 +00:00
Wayne Davison
82ad07c418
- Typical tranfers now save 12-20 bytes per file because several vars
...
were moved out of file_struct into an optional member-var setup.
- Renamed and reorganized the FLAG_* defines.
- Use NDX_DONE instead of a literal -1 when sending/checking the
end-of-phase index value.
2006-12-03 06:44:16 +00:00
Wayne Davison
eb0144d79b
Output the size of the file list using human_num().
2006-11-21 08:36:15 +00:00
Wayne Davison
83078af5b0
Changed sprintf() calls to snprintf().
2006-10-13 23:46:32 +00:00
Wayne Davison
1a7f3d99c5
Removed the changes in symlink handling in non-chroot daemon mode as
...
they were not yet safe (I'll consider similar changes for the next
release).
2006-10-12 03:01:18 +00:00
Wayne Davison
2a94207ad6
Added a new variable, new_root_dir, that is set if we created the
...
destination directory.
2006-10-11 00:04:41 +00:00