Fossil SCM
Document the --synclog option on "fossil sync" and similar. Add --synclog to "fossil all sync" and similar.
Commit
aa9e43bf28c1c439c1e37b9dc52899e871787931c679a28c37832c88cb4ef7ca
Parent
42a23ae71f3923d…
2 files changed
+7
-4
+3
+7
-4
| --- src/allrepo.c | ||
| +++ src/allrepo.c | ||
| @@ -98,22 +98,22 @@ | ||
| 98 | 98 | ** a Git mirror has been previously established. |
| 99 | 99 | ** |
| 100 | 100 | ** info Run the "info" command on all repositories. |
| 101 | 101 | ** |
| 102 | 102 | ** pull Run a "pull" operation on all repositories. Only the |
| 103 | -** --verbose option is supported. | |
| 103 | +** --verbose and --synclog options are supported. | |
| 104 | 104 | ** |
| 105 | 105 | ** push Run a "push" on all repositories. Only the --verbose |
| 106 | -** option is supported. | |
| 106 | +** and --synclog options is supported. | |
| 107 | 107 | ** |
| 108 | 108 | ** rebuild Rebuild on all repositories. The command line options |
| 109 | 109 | ** supported by the rebuild command itself, if any are |
| 110 | 110 | ** present, are passed along verbatim. The --force and |
| 111 | 111 | ** --randomize options are not supported. |
| 112 | 112 | ** |
| 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. | |
| 115 | 115 | ** |
| 116 | 116 | ** set Run the "setting" or "set" commands on all |
| 117 | 117 | ** repositories. These command are particularly useful in |
| 118 | 118 | ** conjunction with the "max-loadavg" setting which cannot |
| 119 | 119 | ** otherwise be set globally. |
| @@ -264,13 +264,15 @@ | ||
| 264 | 264 | } |
| 265 | 265 | } |
| 266 | 266 | }else if( strncmp(zCmd, "push", n)==0 ){ |
| 267 | 267 | zCmd = "push -autourl -R"; |
| 268 | 268 | collect_argument(&extra, "verbose","v"); |
| 269 | + collect_argument(&extra, "synclog",0); | |
| 269 | 270 | }else if( strncmp(zCmd, "pull", n)==0 ){ |
| 270 | 271 | zCmd = "pull -autourl -R"; |
| 271 | 272 | collect_argument(&extra, "verbose","v"); |
| 273 | + collect_argument(&extra, "synclog",0); | |
| 272 | 274 | }else if( strncmp(zCmd, "rebuild", n)==0 ){ |
| 273 | 275 | zCmd = "rebuild"; |
| 274 | 276 | collect_argument(&extra, "cluster",0); |
| 275 | 277 | collect_argument(&extra, "compress",0); |
| 276 | 278 | collect_argument(&extra, "compress-only",0); |
| @@ -295,10 +297,11 @@ | ||
| 295 | 297 | collect_argv(&extra, 3); |
| 296 | 298 | }else if( strncmp(zCmd, "sync", n)==0 ){ |
| 297 | 299 | zCmd = "sync -autourl -R"; |
| 298 | 300 | collect_argument(&extra, "verbose","v"); |
| 299 | 301 | collect_argument(&extra, "unversioned","u"); |
| 302 | + collect_argument(&extra, "synclog",0); | |
| 300 | 303 | }else if( strncmp(zCmd, "test-integrity", n)==0 ){ |
| 301 | 304 | collect_argument(&extra, "db-only", "d"); |
| 302 | 305 | collect_argument(&extra, "parse", 0); |
| 303 | 306 | collect_argument(&extra, "quick", "q"); |
| 304 | 307 | zCmd = "test-integrity"; |
| 305 | 308 |
| --- 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 @@ | ||
| 363 | 363 | ** --project-code CODE Use CODE as the project code |
| 364 | 364 | ** --proxy PROXY Use the specified HTTP proxy |
| 365 | 365 | ** -R|--repository REPO Local repository to pull into |
| 366 | 366 | ** --ssl-identity FILE Local SSL credentials, if requested by remote |
| 367 | 367 | ** --ssh-command SSH Use SSH as the "ssh" command |
| 368 | +** --synclog Push local synclog information to the server | |
| 368 | 369 | ** -v|--verbose Additional (debugging) output |
| 369 | 370 | ** --verily Exchange extra information with the remote |
| 370 | 371 | ** to ensure no content is overlooked |
| 371 | 372 | ** |
| 372 | 373 | ** See also: [[clone]], [[config]], [[push]], [[remote]], [[sync]] |
| @@ -414,10 +415,11 @@ | ||
| 414 | 415 | ** --proxy PROXY Use the specified HTTP proxy |
| 415 | 416 | ** --private Push private branches too |
| 416 | 417 | ** -R|--repository REPO Local repository to push from |
| 417 | 418 | ** --ssl-identity FILE Local SSL credentials, if requested by remote |
| 418 | 419 | ** --ssh-command SSH Use SSH as the "ssh" command |
| 420 | +** --synclog Push local synclog information to the server | |
| 419 | 421 | ** -v|--verbose Additional (debugging) output |
| 420 | 422 | ** --verily Exchange extra information with the remote |
| 421 | 423 | ** to ensure no content is overlooked |
| 422 | 424 | ** |
| 423 | 425 | ** See also: [[clone]], [[config]], [[pull]], [[remote]], [[sync]] |
| @@ -461,10 +463,11 @@ | ||
| 461 | 463 | ** --proxy PROXY Use the specified HTTP proxy |
| 462 | 464 | ** --private Sync private branches too |
| 463 | 465 | ** -R|--repository REPO Local repository to sync with |
| 464 | 466 | ** --ssl-identity FILE Local SSL credentials, if requested by remote |
| 465 | 467 | ** --ssh-command SSH Use SSH as the "ssh" command |
| 468 | +** --synclog Push local synclog information to the server | |
| 466 | 469 | ** -u|--unversioned Also sync unversioned content |
| 467 | 470 | ** -v|--verbose Additional (debugging) output |
| 468 | 471 | ** --verily Exchange extra information with the remote |
| 469 | 472 | ** to ensure no content is overlooked |
| 470 | 473 | ** |
| 471 | 474 |
| --- 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 |