Wayne Davison
2990e06f29
Silence a compiler warning.
2004-01-03 01:12:10 +00:00
Wayne Davison
6744b62ddd
Fixed --link-dest's check for identicalness to ignore the uid if
...
non-root, and to ignore a gid of -1.
2004-01-02 16:50:06 +00:00
Wayne Davison
968c8030cf
Some name tweaks.
2004-01-02 08:19:26 +00:00
Wayne Davison
e7bc9b64a3
Use f_name_to() when producing a name for the recv_generator() call.
...
This prevents things like the hard-link code from losing the name
before we're finished with it.
2004-01-02 08:05:20 +00:00
Wayne Davison
423dba8ea1
Simplified an internal function's name to remove a potentially
...
cryptic suffix.
2003-12-24 01:14:16 +00:00
Wayne Davison
ea42541fe0
Improved file-related error messages by using the new
...
full_fname() function.
2003-09-11 04:53:05 +00:00
Wayne Davison
d04e9c51b4
Changed "remote_version" to "protocol_version".
2003-09-09 15:58:48 +00:00
Wayne Davison
fb55e28d83
Fixed the multiplying of blength*blength so that it can't overflow
...
before it gets cast to a uint64.
2003-08-22 05:42:13 +00:00
Wayne Davison
365346ca30
Got rid of signed/unsigned-comparison warning if st_rdev is signed.
2003-08-21 23:46:10 +00:00
Wayne Davison
8801138b47
Made rprintf() of size_t value portable.
2003-07-04 15:11:44 +00:00
J.W. Schultz
195bd906a2
- Per-file dynamic block size is now sqrt(file length).
...
- The per-file checksum size is determined according
to an algorythm provided by Donovan Baarda which
reduces the probability of rsync algorithm
corrupting data and falling back using the whole md4
checksums.
2003-04-10 02:04:58 +00:00
J.W. Schultz
fc0257c9fd
Now support dynamic per-file checksum2 size.
...
This pushes protocol version to 27
2003-04-10 01:13:30 +00:00
J.W. Schultz
bc63ae3f13
Removing vestigial support for protocol versions prior to 15.
2003-03-31 17:28:34 +00:00
J.W. Schultz
6e12886393
Logic error in preserve_perms + link_dest
2003-03-31 08:09:41 +00:00
J.W. Schultz
bb24028f51
Make link-dest aware of --perms, --owner and --group.
...
---- Chris Darroch
2003-03-26 20:26:06 +00:00
Wayne Davison
2cda256088
- Simplified the whole-file option handling.
...
- Cleaned up some whitespace issues.
2003-03-21 18:53:00 +00:00
J.W. Schultz
85ed0aa396
Typo corrections.
...
Thanks to Paul Slootman <paul@debian.org >
2003-03-21 07:27:31 +00:00
David Dykstra
59c95e4243
Add --link-dest option from J.W. Schultz.
2002-08-29 14:44:55 +00:00
Wayne Davison
8060514230
Stefan Nehlsen's fix of a timeout problem on large files.
...
(Modified to work with the latest CVS source.)
2002-07-31 21:20:07 +00:00
Martin Pool
67684d038d
long int fix from Nelson Beebe
2002-04-09 04:49:23 +00:00
Martin Pool
e66dfd1879
Doc and indent only.
2002-04-08 09:05:26 +00:00
Martin Pool
3e7053ac59
With -vv, show state of --whole-file once at the start of the transfer.
2002-04-08 08:06:18 +00:00
Martin Pool
420ef2c419
Doc.
2002-04-08 08:02:08 +00:00
Martin Pool
b35d0d8e9a
Split code out into separate files and remove some global variables to
...
reduce symbol dependencies between files and therefore make it easier
to write unit tests. The diff is large, but the actual code changes
are pretty small.
2002-04-08 04:10:20 +00:00
Martin Pool
fba31efb74
Disambiguate hard link messages.
2002-03-25 05:54:31 +00:00
David Dykstra
b8709f5046
Now that whole_file and no_whole_file are separate variables, have the
...
--whole-file and --no-whole-file options set/reset both variables so if
more than one option is specified the last one will be the one honored.
2002-03-19 20:16:42 +00:00
Martin Pool
bceec82f35
Previous solution for --no-whole-file would probably break when
...
connecting to old servers that don't have --no-whole-file.
Instead, we handle no_whole_file and whole_file separately, without
the magic -1 value. We don't modify no_whole_file after
initialization.
2002-03-19 03:39:42 +00:00
Martin Pool
d157de203a
Typo.
2002-03-19 03:23:08 +00:00
Martin Pool
1bfbf40bd5
Fix --whole-file problem that caused it to be the default even for
...
remote connections. (Frank Schulz)
<http://lists.samba.org/pipermail/rsync/2002-March/006526.html >
Also, add documentation for whole_file and add assertions that the
value is valid.
2002-03-19 03:21:53 +00:00
David Dykstra
1bbd10fe07
Remove the "rsync:" prefixes on FINFO messages. Return the "building file
...
list ... done" to the way it was in 2.5.1 and before when not using -P.
Apply the file list progress messages when receiving files in addition to
sending files.
2002-02-07 16:36:12 +00:00
Martin Pool
3d6feada8a
New --ignore-existing option, patch previously distributed with
...
Vipul's Razor. (Debian #124286 )
2002-01-25 10:42:23 +00:00
Martin Pool
91262d5d3e
Refactor code in send_sums to remove repeated ternaries.
2002-01-23 07:54:13 +00:00
Martin Pool
1707e0f9e2
Indent.
2002-01-23 06:48:13 +00:00
Martin Pool
fb47591de0
Typo.
2001-12-14 05:17:52 +00:00
Martin Pool
63787382d8
Clearer error messages.
2001-12-14 02:16:20 +00:00
Martin Pool
85d4d142d8
Clearer error messages.
2001-12-14 02:14:58 +00:00
David Dykstra
de343e3cce
Don't print out the directory name twice in verbose mode; it was being
...
printed a second time when the modification time of the directory was
being set, and that time around recv_files() calls recv_generator() with
an f_out of -1 so check that before printing the directory name.
2001-12-03 18:37:33 +00:00
Andrew Tridgell
a57873b710
fixed check for timeout in generator
...
the generator can easily make no progress for a long time, so don't do
timeout processing checks
2001-09-09 04:42:09 +00:00
Andrew Tridgell
8950ac03f8
imported new snprintf.c from samba, got rid of slprintf
2001-05-07 06:59:37 +00:00
Martin Pool
a1b1b1da46
Add comments.
2000-11-15 05:53:45 +00:00
Martin Pool
ef1aa91039
Doc.
2000-11-10 03:17:08 +00:00
Martin Pool
64c2cf8fea
Better error messages
2000-11-09 09:02:16 +00:00
Martin Pool
81d538ce23
Better error messages when unlink fails
2000-11-08 09:45:16 +00:00
Andrew Tridgell
5b56cc19fb
added --modify-window option from David Bolen <db3l@fitlinxx.com>
2000-09-06 02:12:13 +00:00
David Dykstra
60c8d7bc7f
Enable --compare-dest to work in combination with --always-checksum.
...
Problem and suggested patch from Dean Scothern dino@cricinfo.com (although
I re-wrote the patch).
2000-08-04 21:11:46 +00:00
Andrew Tridgell
4b3977bf00
get rid of annoying symlink error messages
2000-06-23 13:54:08 +00:00
Andrew Tridgell
74a7f81d57
updated a debug message
2000-01-24 12:22:58 +00:00
Andrew Tridgell
5f808dfbd7
fix a problem with files > 2GB
...
(thanks to T.J.Adye@rl.ac.uk )
2000-01-23 12:30:34 +00:00
Andrew Tridgell
1347d5126a
added --existing option, similar to one suggested by Gildas Quiniou <gildas@stip.fr>
2000-01-23 01:53:18 +00:00
David Dykstra
60be6acf46
If a destination file cannot be opened, pretend it doesn't exist rather
...
than skipping it and thus not updating it. For example, the ownership or
mode on a file may prevent opening it, but the directory may still be
writable so the file could be completely replaced.
2000-01-06 16:15:36 +00:00