129
130
131
132
133
134
135
136
137
138
139
140
141
142
|
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
|
+
+
|
** The root URI gives a listing of all repos.
**
** ui Run the "ui" command on all repositories. Like "server"
** but bind to the loopback TCP address only, enable
** the --localauth option and automatically launch a
** web-browser
**
** whatis XX Search for artifacts that have hash prefix XX
**
**
** In addition, the following maintenance operations are supported:
**
** add Add all the repositories named to the set of repositories
** tracked by Fossil. Normally Fossil is able to keep up with
** this list by itself, but sometimes it can benefit from this
** hint if you rename repositories.
|
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
|
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
|
+
+
+
+
-
+
|
zCmd = "info";
showLabel = 1;
quiet = 1;
}else if( fossil_strcmp(zCmd, "cache")==0 ){
zCmd = "cache -R";
showLabel = 1;
collect_argv(&extra, 3);
}else if( fossil_strcmp(zCmd, "whatis")==0 ){
zCmd = "whatis -q -R";
quiet = 1;
collect_argv(&extra, 3);
}else{
fossil_fatal("\"all\" subcommand should be one of: "
"add cache changes clean dbstat extras fts-config git ignore "
"info list ls pull push rebuild remote "
"server setting sync ui unset");
"server setting sync ui unset whatis");
}
verify_all_options();
db_multi_exec("CREATE TEMP TABLE repolist(name,tag);");
if( useCheckouts ){
db_multi_exec(
"INSERT INTO repolist "
"SELECT DISTINCT substr(name, 7), name COLLATE nocase"
|