Fossil SCM
Add the --share-links option to "fossil all sync" and "fossil all pull".
Commit
23a0cd66c8e23db63d2eabc7f6b304610a5446bdd02fed881a63dc3cdb5b62e6
Parent
6916a058abd2645…
1 file changed
+4
-2
+4
-2
| --- src/allrepo.c | ||
| +++ src/allrepo.c | ||
| @@ -98,11 +98,11 @@ | ||
| 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 --share-links options are supported. | |
| 104 | 104 | ** |
| 105 | 105 | ** push Run a "push" on all repositories. Only the --verbose |
| 106 | 106 | ** option is supported. |
| 107 | 107 | ** |
| 108 | 108 | ** rebuild Rebuild on all repositories. The command line options |
| @@ -109,11 +109,11 @@ | ||
| 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 | 113 | ** sync Run a "sync" on all repositories. Only the --verbose |
| 114 | -** and --unversioned options are supported. | |
| 114 | +** and --unversioned and --share-links 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. |
| @@ -267,10 +267,11 @@ | ||
| 267 | 267 | zCmd = "push -autourl -R"; |
| 268 | 268 | collect_argument(&extra, "verbose","v"); |
| 269 | 269 | }else if( strncmp(zCmd, "pull", n)==0 ){ |
| 270 | 270 | zCmd = "pull -autourl -R"; |
| 271 | 271 | collect_argument(&extra, "verbose","v"); |
| 272 | + collect_argument(&extra, "share-links",0); | |
| 272 | 273 | }else if( strncmp(zCmd, "rebuild", n)==0 ){ |
| 273 | 274 | zCmd = "rebuild"; |
| 274 | 275 | collect_argument(&extra, "cluster",0); |
| 275 | 276 | collect_argument(&extra, "compress",0); |
| 276 | 277 | collect_argument(&extra, "compress-only",0); |
| @@ -293,10 +294,11 @@ | ||
| 293 | 294 | }else if( strncmp(zCmd, "fts-config", n)==0 ){ |
| 294 | 295 | zCmd = "fts-config -R"; |
| 295 | 296 | collect_argv(&extra, 3); |
| 296 | 297 | }else if( strncmp(zCmd, "sync", n)==0 ){ |
| 297 | 298 | zCmd = "sync -autourl -R"; |
| 299 | + collect_argument(&extra, "share-links",0); | |
| 298 | 300 | collect_argument(&extra, "verbose","v"); |
| 299 | 301 | collect_argument(&extra, "unversioned","u"); |
| 300 | 302 | }else if( strncmp(zCmd, "test-integrity", n)==0 ){ |
| 301 | 303 | collect_argument(&extra, "db-only", "d"); |
| 302 | 304 | collect_argument(&extra, "parse", 0); |
| 303 | 305 |
| --- src/allrepo.c | |
| +++ src/allrepo.c | |
| @@ -98,11 +98,11 @@ | |
| 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,11 +109,11 @@ | |
| 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. |
| @@ -267,10 +267,11 @@ | |
| 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); |
| @@ -293,10 +294,11 @@ | |
| 293 | }else if( strncmp(zCmd, "fts-config", n)==0 ){ |
| 294 | zCmd = "fts-config -R"; |
| 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 |
| --- src/allrepo.c | |
| +++ src/allrepo.c | |
| @@ -98,11 +98,11 @@ | |
| 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 --share-links options are 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,11 +109,11 @@ | |
| 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 and --share-links 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. |
| @@ -267,10 +267,11 @@ | |
| 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 | collect_argument(&extra, "share-links",0); |
| 273 | }else if( strncmp(zCmd, "rebuild", n)==0 ){ |
| 274 | zCmd = "rebuild"; |
| 275 | collect_argument(&extra, "cluster",0); |
| 276 | collect_argument(&extra, "compress",0); |
| 277 | collect_argument(&extra, "compress-only",0); |
| @@ -293,10 +294,11 @@ | |
| 294 | }else if( strncmp(zCmd, "fts-config", n)==0 ){ |
| 295 | zCmd = "fts-config -R"; |
| 296 | collect_argv(&extra, 3); |
| 297 | }else if( strncmp(zCmd, "sync", n)==0 ){ |
| 298 | zCmd = "sync -autourl -R"; |
| 299 | collect_argument(&extra, "share-links",0); |
| 300 | collect_argument(&extra, "verbose","v"); |
| 301 | collect_argument(&extra, "unversioned","u"); |
| 302 | }else if( strncmp(zCmd, "test-integrity", n)==0 ){ |
| 303 | collect_argument(&extra, "db-only", "d"); |
| 304 | collect_argument(&extra, "parse", 0); |
| 305 |