Fossil SCM

Add the --share-links option to "fossil all sync" and "fossil all pull".

drh 2021-12-21 20:23 trunk
Commit 23a0cd66c8e23db63d2eabc7f6b304610a5446bdd02fed881a63dc3cdb5b62e6
1 file changed +4 -2
+4 -2
--- src/allrepo.c
+++ src/allrepo.c
@@ -98,11 +98,11 @@
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 --share-links options are supported.
104104
**
105105
** push Run a "push" on all repositories. Only the --verbose
106106
** option is supported.
107107
**
108108
** rebuild Rebuild on all repositories. The command line options
@@ -109,11 +109,11 @@
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
**
113113
** 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.
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.
@@ -267,10 +267,11 @@
267267
zCmd = "push -autourl -R";
268268
collect_argument(&extra, "verbose","v");
269269
}else if( strncmp(zCmd, "pull", n)==0 ){
270270
zCmd = "pull -autourl -R";
271271
collect_argument(&extra, "verbose","v");
272
+ collect_argument(&extra, "share-links",0);
272273
}else if( strncmp(zCmd, "rebuild", n)==0 ){
273274
zCmd = "rebuild";
274275
collect_argument(&extra, "cluster",0);
275276
collect_argument(&extra, "compress",0);
276277
collect_argument(&extra, "compress-only",0);
@@ -293,10 +294,11 @@
293294
}else if( strncmp(zCmd, "fts-config", n)==0 ){
294295
zCmd = "fts-config -R";
295296
collect_argv(&extra, 3);
296297
}else if( strncmp(zCmd, "sync", n)==0 ){
297298
zCmd = "sync -autourl -R";
299
+ collect_argument(&extra, "share-links",0);
298300
collect_argument(&extra, "verbose","v");
299301
collect_argument(&extra, "unversioned","u");
300302
}else if( strncmp(zCmd, "test-integrity", n)==0 ){
301303
collect_argument(&extra, "db-only", "d");
302304
collect_argument(&extra, "parse", 0);
303305
--- 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

Keyboard Shortcuts

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