search for: remote_filesfrom_file

Displaying 9 results from an estimated 9 matches for "remote_filesfrom_file".

2004 Jun 17
1
[PATCH] make write_batch local
...sion 1.197 diff -c -b -d -r1.197 main.c *** a/main.c 11 Jun 2004 07:40:54 -0000 1.197 --- b/main.c 17 Jun 2004 04:01:56 -0000 *************** *** 735,743 **** return start_socket_client(host, path, argc-1, argv+1); } ! if (!read_batch) { p = find_colon(argv[0]); ! if (p) { if (remote_filesfrom_file && remote_filesfrom_file != files_from + 1 && strncmp(files_from, argv[0], p-argv[0]+1) != 0) { --- 735,743 ---- return start_socket_client(host, path, argc-1, argv+1); } ! if (!read_batch) { /* for read_batch, NO source is specified */ p = find_colon(argv...
2004 Jan 27
1
Differentiating debug messages from both sides
..."[%c] i=%d %s %s mode=0%o len=%.0f\n", + *who_am_i, i, NS(flist->files[i]->dirname), NS(flist->files[i]->basename), (int) flist->files[i]->mode, --- main.c 27 Jan 2004 08:05:10 -0000 1.185 +++ main.c 27 Jan 2004 07:59:07 -0000 @@ -56,6 +56,8 @@ extern char *remote_filesfrom_file; extern char *rsync_path; extern char *shell_cmd; extern struct file_list *batch_flist; +extern char *who_am_i; + /* there's probably never more than at most 2 outstanding child processes, * but set it higher just in case. @@ -198,7 +200,7 @@ static void show_malloc_stats(void) getpi...
2004 Feb 09
1
[patch] Add `--link-by-hash' option.
...fault: /* FIXME: If --daemon is specified, then errors for later @@ -889,6 +904,11 @@ args[ac++] = compare_dest; } + if (link_by_hash_dir && am_sender) { + args[ac++] = "--link-by-hash"; + args[ac++] = link_by_hash_dir; + } + if (files_from && (!am_sender || remote_filesfrom_file)) { if (remote_filesfrom_file) { args[ac++] = "--files-from"; patchwork diff rsync.c --- rsync.c 2004-02-09 15:42:40.000000000 -0500 +++ rsync.c 2004-02-09 15:42:40.000000000 -0500 @@ -30,6 +30,7 @@ extern int preserve_gid; extern int preserve_perms; extern int make_backups; +ex...
2004 Feb 23
0
[patch] Add `--link-by-hash' option (rev 4).
..._options() * turned this option off (opt-BASE is its index). */ @@ -934,6 +950,11 @@ args[ac++] = compare_dest; } + if (link_by_hash_dir && am_sender) { + args[ac++] = "--link-by-hash"; + args[ac++] = link_by_hash_dir; + } + if (files_from && (!am_sender || remote_filesfrom_file)) { if (remote_filesfrom_file) { args[ac++] = "--files-from"; patchwork diff proto.h --- proto.h 2004-02-23 10:22:51.000000000 -0500 +++ proto.h 2004-02-23 10:22:51.000000000 -0500 @@ -93,6 +93,12 @@ void write_sum_head(int f, struct sum_struct *sum); void recv_generator(char *fn...
2004 Feb 17
0
[patch] Add `--link-by-hash' option (rev 3).
...eturn 0; +#endif default: snprintf(err_buf, sizeof err_buf, @@ -921,6 +936,11 @@ args[ac++] = compare_dest; } + if (link_by_hash_dir && am_sender) { + args[ac++] = "--link-by-hash"; + args[ac++] = link_by_hash_dir; + } + if (files_from && (!am_sender || remote_filesfrom_file)) { if (remote_filesfrom_file) { args[ac++] = "--files-from"; patchwork diff proto.h --- proto.h 2004-02-17 10:36:44.000000000 -0500 +++ proto.h 2004-02-17 10:43:31.000000000 -0500 @@ -93,6 +93,12 @@ void write_sum_head(int f, struct sum_struct *sum); void recv_generator(char *fn...
2004 Feb 23
0
[patch] Add `--link-by-hash' option (rev 5).
..._options() * turned this option off (opt-BASE is its index). */ @@ -934,6 +950,11 @@ args[ac++] = compare_dest; } + if (link_by_hash_dir && am_sender) { + args[ac++] = "--link-by-hash"; + args[ac++] = link_by_hash_dir; + } + if (files_from && (!am_sender || remote_filesfrom_file)) { if (remote_filesfrom_file) { args[ac++] = "--files-from"; patchwork diff proto.h --- proto.h 2004-02-23 10:22:51.000000000 -0500 +++ proto.h 2004-02-23 11:06:03.000000000 -0500 @@ -93,6 +93,12 @@ void write_sum_head(int f, struct sum_struct *sum); void recv_generator(char *fn...
2004 Feb 16
1
[patch] Add `--link-by-hash' option (rev 2).
...eturn 0; +#endif default: snprintf(err_buf, sizeof err_buf, @@ -921,6 +936,11 @@ args[ac++] = compare_dest; } + if (link_by_hash_dir && am_sender) { + args[ac++] = "--link-by-hash"; + args[ac++] = link_by_hash_dir; + } + if (files_from && (!am_sender || remote_filesfrom_file)) { if (remote_filesfrom_file) { args[ac++] = "--files-from"; patchwork diff proto.h --- proto.h 2004-02-16 10:24:38.000000000 -0500 +++ proto.h 2004-02-16 10:18:14.000000000 -0500 @@ -93,6 +93,12 @@ void write_sum_head(int f, struct sum_struct *sum); void recv_generator(char *fn...
2004 Apr 15
0
Multiple compare-dest args
...ink-dest" : "--compare-dest"; - args[ac++] = compare_dest; + int i; + for (i = 0; i < num_comp_dest; i++) { + args[ac++] = link_dest ? "--link-dest" : "--compare-dest"; + args[ac++] = compare_dest[i]; + } } if (files_from && (!am_sender || remote_filesfrom_file)) { Only in rsync-2.6.1pre-1-vidar: options.c~ Only in rsync-2.6.1pre-1-vidar/popt: dummy diff -ru rsync-2.6.1pre-1/receiver.c rsync-2.6.1pre-1-vidar/receiver.c --- rsync-2.6.1pre-1/receiver.c 2004-03-23 17:50:40.000000000 +0100 +++ rsync-2.6.1pre-1-vidar/receiver.c 2004-04-15 11:07:43.000000000 +0...
2004 Jul 12
2
[PATCH] Batch-mode rewrite
...=================================================== RCS file: /cvsroot/rsync/io.c,v retrieving revision 1.131 diff -c -b -d -r1.131 io.c *** io.c 23 Jun 2004 01:13:09 -0000 1.131 --- io.c 12 Jul 2004 00:37:48 -0000 *************** *** 56,61 **** --- 56,63 ---- extern int eol_nulls; extern char *remote_filesfrom_file; extern struct stats stats; + extern int batch_fd; + extern int write_batch; const char phase_unknown[] = "unknown"; int select_timeout = SELECT_TIMEOUT; *************** *** 674,679 **** --- 676,688 ---- total += ret; } + if (write_batch && !am_sender) { + if...