Fossil SCM

Document the --synclog option on "fossil sync" and similar. Add --synclog to "fossil all sync" and similar.

drh 2021-12-20 13:02 synclog
Commit aa9e43bf28c1c439c1e37b9dc52899e871787931c679a28c37832c88cb4ef7ca
2 files changed +7 -4 +3
+7 -4
--- src/allrepo.c
+++ src/allrepo.c
@@ -98,22 +98,22 @@
9898
** a Git mirror has been previously established.
9999
**
100100
** info Run the "info" command on all repositories.
101101
**
102102
** pull Run a "pull" operation on all repositories. Only the
103
-** --verbose option is supported.
103
+** --verbose and --synclog options are supported.
104104
**
105105
** push Run a "push" on all repositories. Only the --verbose
106
-** option is supported.
106
+** and --synclog options is supported.
107107
**
108108
** rebuild Rebuild on all repositories. The command line options
109109
** supported by the rebuild command itself, if any are
110110
** present, are passed along verbatim. The --force and
111111
** --randomize options are not supported.
112112
**
113
-** sync Run a "sync" on all repositories. Only the --verbose
114
-** and --unversioned options are supported.
113
+** sync Run a "sync" on all repositories. Only the --verbose,
114
+** --unversioned, and --synclog options are supported.
115115
**
116116
** set Run the "setting" or "set" commands on all
117117
** repositories. These command are particularly useful in
118118
** conjunction with the "max-loadavg" setting which cannot
119119
** otherwise be set globally.
@@ -264,13 +264,15 @@
264264
}
265265
}
266266
}else if( strncmp(zCmd, "push", n)==0 ){
267267
zCmd = "push -autourl -R";
268268
collect_argument(&extra, "verbose","v");
269
+ collect_argument(&extra, "synclog",0);
269270
}else if( strncmp(zCmd, "pull", n)==0 ){
270271
zCmd = "pull -autourl -R";
271272
collect_argument(&extra, "verbose","v");
273
+ collect_argument(&extra, "synclog",0);
272274
}else if( strncmp(zCmd, "rebuild", n)==0 ){
273275
zCmd = "rebuild";
274276
collect_argument(&extra, "cluster",0);
275277
collect_argument(&extra, "compress",0);
276278
collect_argument(&extra, "compress-only",0);
@@ -295,10 +297,11 @@
295297
collect_argv(&extra, 3);
296298
}else if( strncmp(zCmd, "sync", n)==0 ){
297299
zCmd = "sync -autourl -R";
298300
collect_argument(&extra, "verbose","v");
299301
collect_argument(&extra, "unversioned","u");
302
+ collect_argument(&extra, "synclog",0);
300303
}else if( strncmp(zCmd, "test-integrity", n)==0 ){
301304
collect_argument(&extra, "db-only", "d");
302305
collect_argument(&extra, "parse", 0);
303306
collect_argument(&extra, "quick", "q");
304307
zCmd = "test-integrity";
305308
--- src/allrepo.c
+++ src/allrepo.c
@@ -98,22 +98,22 @@
98 ** a Git mirror has been previously established.
99 **
100 ** info Run the "info" command on all repositories.
101 **
102 ** pull Run a "pull" operation on all repositories. Only the
103 ** --verbose option is supported.
104 **
105 ** push Run a "push" on all repositories. Only the --verbose
106 ** option is supported.
107 **
108 ** rebuild Rebuild on all repositories. The command line options
109 ** supported by the rebuild command itself, if any are
110 ** present, are passed along verbatim. The --force and
111 ** --randomize options are not supported.
112 **
113 ** sync Run a "sync" on all repositories. Only the --verbose
114 ** and --unversioned options are supported.
115 **
116 ** set Run the "setting" or "set" commands on all
117 ** repositories. These command are particularly useful in
118 ** conjunction with the "max-loadavg" setting which cannot
119 ** otherwise be set globally.
@@ -264,13 +264,15 @@
264 }
265 }
266 }else if( strncmp(zCmd, "push", n)==0 ){
267 zCmd = "push -autourl -R";
268 collect_argument(&extra, "verbose","v");
 
269 }else if( strncmp(zCmd, "pull", n)==0 ){
270 zCmd = "pull -autourl -R";
271 collect_argument(&extra, "verbose","v");
 
272 }else if( strncmp(zCmd, "rebuild", n)==0 ){
273 zCmd = "rebuild";
274 collect_argument(&extra, "cluster",0);
275 collect_argument(&extra, "compress",0);
276 collect_argument(&extra, "compress-only",0);
@@ -295,10 +297,11 @@
295 collect_argv(&extra, 3);
296 }else if( strncmp(zCmd, "sync", n)==0 ){
297 zCmd = "sync -autourl -R";
298 collect_argument(&extra, "verbose","v");
299 collect_argument(&extra, "unversioned","u");
 
300 }else if( strncmp(zCmd, "test-integrity", n)==0 ){
301 collect_argument(&extra, "db-only", "d");
302 collect_argument(&extra, "parse", 0);
303 collect_argument(&extra, "quick", "q");
304 zCmd = "test-integrity";
305
--- src/allrepo.c
+++ src/allrepo.c
@@ -98,22 +98,22 @@
98 ** a Git mirror has been previously established.
99 **
100 ** info Run the "info" command on all repositories.
101 **
102 ** pull Run a "pull" operation on all repositories. Only the
103 ** --verbose and --synclog options are supported.
104 **
105 ** push Run a "push" on all repositories. Only the --verbose
106 ** and --synclog options is supported.
107 **
108 ** rebuild Rebuild on all repositories. The command line options
109 ** supported by the rebuild command itself, if any are
110 ** present, are passed along verbatim. The --force and
111 ** --randomize options are not supported.
112 **
113 ** sync Run a "sync" on all repositories. Only the --verbose,
114 ** --unversioned, and --synclog options are supported.
115 **
116 ** set Run the "setting" or "set" commands on all
117 ** repositories. These command are particularly useful in
118 ** conjunction with the "max-loadavg" setting which cannot
119 ** otherwise be set globally.
@@ -264,13 +264,15 @@
264 }
265 }
266 }else if( strncmp(zCmd, "push", n)==0 ){
267 zCmd = "push -autourl -R";
268 collect_argument(&extra, "verbose","v");
269 collect_argument(&extra, "synclog",0);
270 }else if( strncmp(zCmd, "pull", n)==0 ){
271 zCmd = "pull -autourl -R";
272 collect_argument(&extra, "verbose","v");
273 collect_argument(&extra, "synclog",0);
274 }else if( strncmp(zCmd, "rebuild", n)==0 ){
275 zCmd = "rebuild";
276 collect_argument(&extra, "cluster",0);
277 collect_argument(&extra, "compress",0);
278 collect_argument(&extra, "compress-only",0);
@@ -295,10 +297,11 @@
297 collect_argv(&extra, 3);
298 }else if( strncmp(zCmd, "sync", n)==0 ){
299 zCmd = "sync -autourl -R";
300 collect_argument(&extra, "verbose","v");
301 collect_argument(&extra, "unversioned","u");
302 collect_argument(&extra, "synclog",0);
303 }else if( strncmp(zCmd, "test-integrity", n)==0 ){
304 collect_argument(&extra, "db-only", "d");
305 collect_argument(&extra, "parse", 0);
306 collect_argument(&extra, "quick", "q");
307 zCmd = "test-integrity";
308
+3
--- src/sync.c
+++ src/sync.c
@@ -363,10 +363,11 @@
363363
** --project-code CODE Use CODE as the project code
364364
** --proxy PROXY Use the specified HTTP proxy
365365
** -R|--repository REPO Local repository to pull into
366366
** --ssl-identity FILE Local SSL credentials, if requested by remote
367367
** --ssh-command SSH Use SSH as the "ssh" command
368
+** --synclog Push local synclog information to the server
368369
** -v|--verbose Additional (debugging) output
369370
** --verily Exchange extra information with the remote
370371
** to ensure no content is overlooked
371372
**
372373
** See also: [[clone]], [[config]], [[push]], [[remote]], [[sync]]
@@ -414,10 +415,11 @@
414415
** --proxy PROXY Use the specified HTTP proxy
415416
** --private Push private branches too
416417
** -R|--repository REPO Local repository to push from
417418
** --ssl-identity FILE Local SSL credentials, if requested by remote
418419
** --ssh-command SSH Use SSH as the "ssh" command
420
+** --synclog Push local synclog information to the server
419421
** -v|--verbose Additional (debugging) output
420422
** --verily Exchange extra information with the remote
421423
** to ensure no content is overlooked
422424
**
423425
** See also: [[clone]], [[config]], [[pull]], [[remote]], [[sync]]
@@ -461,10 +463,11 @@
461463
** --proxy PROXY Use the specified HTTP proxy
462464
** --private Sync private branches too
463465
** -R|--repository REPO Local repository to sync with
464466
** --ssl-identity FILE Local SSL credentials, if requested by remote
465467
** --ssh-command SSH Use SSH as the "ssh" command
468
+** --synclog Push local synclog information to the server
466469
** -u|--unversioned Also sync unversioned content
467470
** -v|--verbose Additional (debugging) output
468471
** --verily Exchange extra information with the remote
469472
** to ensure no content is overlooked
470473
**
471474
--- src/sync.c
+++ src/sync.c
@@ -363,10 +363,11 @@
363 ** --project-code CODE Use CODE as the project code
364 ** --proxy PROXY Use the specified HTTP proxy
365 ** -R|--repository REPO Local repository to pull into
366 ** --ssl-identity FILE Local SSL credentials, if requested by remote
367 ** --ssh-command SSH Use SSH as the "ssh" command
 
368 ** -v|--verbose Additional (debugging) output
369 ** --verily Exchange extra information with the remote
370 ** to ensure no content is overlooked
371 **
372 ** See also: [[clone]], [[config]], [[push]], [[remote]], [[sync]]
@@ -414,10 +415,11 @@
414 ** --proxy PROXY Use the specified HTTP proxy
415 ** --private Push private branches too
416 ** -R|--repository REPO Local repository to push from
417 ** --ssl-identity FILE Local SSL credentials, if requested by remote
418 ** --ssh-command SSH Use SSH as the "ssh" command
 
419 ** -v|--verbose Additional (debugging) output
420 ** --verily Exchange extra information with the remote
421 ** to ensure no content is overlooked
422 **
423 ** See also: [[clone]], [[config]], [[pull]], [[remote]], [[sync]]
@@ -461,10 +463,11 @@
461 ** --proxy PROXY Use the specified HTTP proxy
462 ** --private Sync private branches too
463 ** -R|--repository REPO Local repository to sync with
464 ** --ssl-identity FILE Local SSL credentials, if requested by remote
465 ** --ssh-command SSH Use SSH as the "ssh" command
 
466 ** -u|--unversioned Also sync unversioned content
467 ** -v|--verbose Additional (debugging) output
468 ** --verily Exchange extra information with the remote
469 ** to ensure no content is overlooked
470 **
471
--- src/sync.c
+++ src/sync.c
@@ -363,10 +363,11 @@
363 ** --project-code CODE Use CODE as the project code
364 ** --proxy PROXY Use the specified HTTP proxy
365 ** -R|--repository REPO Local repository to pull into
366 ** --ssl-identity FILE Local SSL credentials, if requested by remote
367 ** --ssh-command SSH Use SSH as the "ssh" command
368 ** --synclog Push local synclog information to the server
369 ** -v|--verbose Additional (debugging) output
370 ** --verily Exchange extra information with the remote
371 ** to ensure no content is overlooked
372 **
373 ** See also: [[clone]], [[config]], [[push]], [[remote]], [[sync]]
@@ -414,10 +415,11 @@
415 ** --proxy PROXY Use the specified HTTP proxy
416 ** --private Push private branches too
417 ** -R|--repository REPO Local repository to push from
418 ** --ssl-identity FILE Local SSL credentials, if requested by remote
419 ** --ssh-command SSH Use SSH as the "ssh" command
420 ** --synclog Push local synclog information to the server
421 ** -v|--verbose Additional (debugging) output
422 ** --verily Exchange extra information with the remote
423 ** to ensure no content is overlooked
424 **
425 ** See also: [[clone]], [[config]], [[pull]], [[remote]], [[sync]]
@@ -461,10 +463,11 @@
463 ** --proxy PROXY Use the specified HTTP proxy
464 ** --private Sync private branches too
465 ** -R|--repository REPO Local repository to sync with
466 ** --ssl-identity FILE Local SSL credentials, if requested by remote
467 ** --ssh-command SSH Use SSH as the "ssh" command
468 ** --synclog Push local synclog information to the server
469 ** -u|--unversioned Also sync unversioned content
470 ** -v|--verbose Additional (debugging) output
471 ** --verily Exchange extra information with the remote
472 ** to ensure no content is overlooked
473 **
474

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button