Fossil SCM
Merge updates from trunk.
Commit
1a4bcadde0a8699765cc4c1b09505efde8a23b23
Parent
3e22d93b68b1d33…
3 files changed
+9
-1
+9
-1
+1
-1
+9
-1
| --- src/allrepo.c | ||
| +++ src/allrepo.c | ||
| @@ -86,10 +86,14 @@ | ||
| 86 | 86 | ** |
| 87 | 87 | ** On Win32 systems, the file is named "_fossil" and is located in |
| 88 | 88 | ** %LOCALAPPDATA%, %APPDATA% or %HOMEPATH%. |
| 89 | 89 | ** |
| 90 | 90 | ** Available operations are: |
| 91 | +** | |
| 92 | +** cache Mangages the cache used for potentially expensive web | |
| 93 | +** pages. Any additional arguments are passed on verbatim | |
| 94 | +** to the cache command. | |
| 91 | 95 | ** |
| 92 | 96 | ** changes Shows all local checkouts that have uncommitted changes. |
| 93 | 97 | ** This operation has no additional options. |
| 94 | 98 | ** |
| 95 | 99 | ** clean Delete all "extra" files in all local checkouts. Extreme |
| @@ -329,13 +333,17 @@ | ||
| 329 | 333 | return; |
| 330 | 334 | }else if( strncmp(zCmd, "info", n)==0 ){ |
| 331 | 335 | zCmd = "info"; |
| 332 | 336 | showLabel = 1; |
| 333 | 337 | quiet = 1; |
| 338 | + }else if( strncmp(zCmd, "cache", n)==0 ){ | |
| 339 | + zCmd = "cache -R"; | |
| 340 | + showLabel = 1; | |
| 341 | + collect_argv(&extra, 3); | |
| 334 | 342 | }else{ |
| 335 | 343 | fossil_fatal("\"all\" subcommand should be one of: " |
| 336 | - "add changes clean dbstat extras fts-config ignore " | |
| 344 | + "add cache changes clean dbstat extras fts-config ignore " | |
| 337 | 345 | "info list ls pull push rebuild setting sync unset"); |
| 338 | 346 | } |
| 339 | 347 | verify_all_options(); |
| 340 | 348 | zFossil = quoteFilename(g.nameOfExe); |
| 341 | 349 | db_multi_exec("CREATE TEMP TABLE repolist(name,tag);"); |
| 342 | 350 |
| --- src/allrepo.c | |
| +++ src/allrepo.c | |
| @@ -86,10 +86,14 @@ | |
| 86 | ** |
| 87 | ** On Win32 systems, the file is named "_fossil" and is located in |
| 88 | ** %LOCALAPPDATA%, %APPDATA% or %HOMEPATH%. |
| 89 | ** |
| 90 | ** Available operations are: |
| 91 | ** |
| 92 | ** changes Shows all local checkouts that have uncommitted changes. |
| 93 | ** This operation has no additional options. |
| 94 | ** |
| 95 | ** clean Delete all "extra" files in all local checkouts. Extreme |
| @@ -329,13 +333,17 @@ | |
| 329 | return; |
| 330 | }else if( strncmp(zCmd, "info", n)==0 ){ |
| 331 | zCmd = "info"; |
| 332 | showLabel = 1; |
| 333 | quiet = 1; |
| 334 | }else{ |
| 335 | fossil_fatal("\"all\" subcommand should be one of: " |
| 336 | "add changes clean dbstat extras fts-config ignore " |
| 337 | "info list ls pull push rebuild setting sync unset"); |
| 338 | } |
| 339 | verify_all_options(); |
| 340 | zFossil = quoteFilename(g.nameOfExe); |
| 341 | db_multi_exec("CREATE TEMP TABLE repolist(name,tag);"); |
| 342 |
| --- src/allrepo.c | |
| +++ src/allrepo.c | |
| @@ -86,10 +86,14 @@ | |
| 86 | ** |
| 87 | ** On Win32 systems, the file is named "_fossil" and is located in |
| 88 | ** %LOCALAPPDATA%, %APPDATA% or %HOMEPATH%. |
| 89 | ** |
| 90 | ** Available operations are: |
| 91 | ** |
| 92 | ** cache Mangages the cache used for potentially expensive web |
| 93 | ** pages. Any additional arguments are passed on verbatim |
| 94 | ** to the cache command. |
| 95 | ** |
| 96 | ** changes Shows all local checkouts that have uncommitted changes. |
| 97 | ** This operation has no additional options. |
| 98 | ** |
| 99 | ** clean Delete all "extra" files in all local checkouts. Extreme |
| @@ -329,13 +333,17 @@ | |
| 333 | return; |
| 334 | }else if( strncmp(zCmd, "info", n)==0 ){ |
| 335 | zCmd = "info"; |
| 336 | showLabel = 1; |
| 337 | quiet = 1; |
| 338 | }else if( strncmp(zCmd, "cache", n)==0 ){ |
| 339 | zCmd = "cache -R"; |
| 340 | showLabel = 1; |
| 341 | collect_argv(&extra, 3); |
| 342 | }else{ |
| 343 | fossil_fatal("\"all\" subcommand should be one of: " |
| 344 | "add cache changes clean dbstat extras fts-config ignore " |
| 345 | "info list ls pull push rebuild setting sync unset"); |
| 346 | } |
| 347 | verify_all_options(); |
| 348 | zFossil = quoteFilename(g.nameOfExe); |
| 349 | db_multi_exec("CREATE TEMP TABLE repolist(name,tag);"); |
| 350 |
+9
-1
| --- src/allrepo.c | ||
| +++ src/allrepo.c | ||
| @@ -86,10 +86,14 @@ | ||
| 86 | 86 | ** |
| 87 | 87 | ** On Win32 systems, the file is named "_fossil" and is located in |
| 88 | 88 | ** %LOCALAPPDATA%, %APPDATA% or %HOMEPATH%. |
| 89 | 89 | ** |
| 90 | 90 | ** Available operations are: |
| 91 | +** | |
| 92 | +** cache Mangages the cache used for potentially expensive web | |
| 93 | +** pages. Any additional arguments are passed on verbatim | |
| 94 | +** to the cache command. | |
| 91 | 95 | ** |
| 92 | 96 | ** changes Shows all local checkouts that have uncommitted changes. |
| 93 | 97 | ** This operation has no additional options. |
| 94 | 98 | ** |
| 95 | 99 | ** clean Delete all "extra" files in all local checkouts. Extreme |
| @@ -329,13 +333,17 @@ | ||
| 329 | 333 | return; |
| 330 | 334 | }else if( strncmp(zCmd, "info", n)==0 ){ |
| 331 | 335 | zCmd = "info"; |
| 332 | 336 | showLabel = 1; |
| 333 | 337 | quiet = 1; |
| 338 | + }else if( strncmp(zCmd, "cache", n)==0 ){ | |
| 339 | + zCmd = "cache -R"; | |
| 340 | + showLabel = 1; | |
| 341 | + collect_argv(&extra, 3); | |
| 334 | 342 | }else{ |
| 335 | 343 | fossil_fatal("\"all\" subcommand should be one of: " |
| 336 | - "add changes clean dbstat extras fts-config ignore " | |
| 344 | + "add cache changes clean dbstat extras fts-config ignore " | |
| 337 | 345 | "info list ls pull push rebuild setting sync unset"); |
| 338 | 346 | } |
| 339 | 347 | verify_all_options(); |
| 340 | 348 | zFossil = quoteFilename(g.nameOfExe); |
| 341 | 349 | db_multi_exec("CREATE TEMP TABLE repolist(name,tag);"); |
| 342 | 350 |
| --- src/allrepo.c | |
| +++ src/allrepo.c | |
| @@ -86,10 +86,14 @@ | |
| 86 | ** |
| 87 | ** On Win32 systems, the file is named "_fossil" and is located in |
| 88 | ** %LOCALAPPDATA%, %APPDATA% or %HOMEPATH%. |
| 89 | ** |
| 90 | ** Available operations are: |
| 91 | ** |
| 92 | ** changes Shows all local checkouts that have uncommitted changes. |
| 93 | ** This operation has no additional options. |
| 94 | ** |
| 95 | ** clean Delete all "extra" files in all local checkouts. Extreme |
| @@ -329,13 +333,17 @@ | |
| 329 | return; |
| 330 | }else if( strncmp(zCmd, "info", n)==0 ){ |
| 331 | zCmd = "info"; |
| 332 | showLabel = 1; |
| 333 | quiet = 1; |
| 334 | }else{ |
| 335 | fossil_fatal("\"all\" subcommand should be one of: " |
| 336 | "add changes clean dbstat extras fts-config ignore " |
| 337 | "info list ls pull push rebuild setting sync unset"); |
| 338 | } |
| 339 | verify_all_options(); |
| 340 | zFossil = quoteFilename(g.nameOfExe); |
| 341 | db_multi_exec("CREATE TEMP TABLE repolist(name,tag);"); |
| 342 |
| --- src/allrepo.c | |
| +++ src/allrepo.c | |
| @@ -86,10 +86,14 @@ | |
| 86 | ** |
| 87 | ** On Win32 systems, the file is named "_fossil" and is located in |
| 88 | ** %LOCALAPPDATA%, %APPDATA% or %HOMEPATH%. |
| 89 | ** |
| 90 | ** Available operations are: |
| 91 | ** |
| 92 | ** cache Mangages the cache used for potentially expensive web |
| 93 | ** pages. Any additional arguments are passed on verbatim |
| 94 | ** to the cache command. |
| 95 | ** |
| 96 | ** changes Shows all local checkouts that have uncommitted changes. |
| 97 | ** This operation has no additional options. |
| 98 | ** |
| 99 | ** clean Delete all "extra" files in all local checkouts. Extreme |
| @@ -329,13 +333,17 @@ | |
| 333 | return; |
| 334 | }else if( strncmp(zCmd, "info", n)==0 ){ |
| 335 | zCmd = "info"; |
| 336 | showLabel = 1; |
| 337 | quiet = 1; |
| 338 | }else if( strncmp(zCmd, "cache", n)==0 ){ |
| 339 | zCmd = "cache -R"; |
| 340 | showLabel = 1; |
| 341 | collect_argv(&extra, 3); |
| 342 | }else{ |
| 343 | fossil_fatal("\"all\" subcommand should be one of: " |
| 344 | "add cache changes clean dbstat extras fts-config ignore " |
| 345 | "info list ls pull push rebuild setting sync unset"); |
| 346 | } |
| 347 | verify_all_options(); |
| 348 | zFossil = quoteFilename(g.nameOfExe); |
| 349 | db_multi_exec("CREATE TEMP TABLE repolist(name,tag);"); |
| 350 |
+1
-1
| --- src/cache.c | ||
| +++ src/cache.c | ||
| @@ -240,11 +240,11 @@ | ||
| 240 | 240 | /* |
| 241 | 241 | ** COMMAND: cache* |
| 242 | 242 | ** Usage: %fossil cache SUBCOMMAND |
| 243 | 243 | ** |
| 244 | 244 | ** Manage the cache used for potentially expensive web pages such as |
| 245 | -** /zip and /tarball. SUBCOMMAND an be: | |
| 245 | +** /zip and /tarball. SUBCOMMAND can be: | |
| 246 | 246 | ** |
| 247 | 247 | ** clear Remove all entries from the cache. |
| 248 | 248 | ** |
| 249 | 249 | ** init Create the cache file if it does not already exists. |
| 250 | 250 | ** |
| 251 | 251 |
| --- src/cache.c | |
| +++ src/cache.c | |
| @@ -240,11 +240,11 @@ | |
| 240 | /* |
| 241 | ** COMMAND: cache* |
| 242 | ** Usage: %fossil cache SUBCOMMAND |
| 243 | ** |
| 244 | ** Manage the cache used for potentially expensive web pages such as |
| 245 | ** /zip and /tarball. SUBCOMMAND an be: |
| 246 | ** |
| 247 | ** clear Remove all entries from the cache. |
| 248 | ** |
| 249 | ** init Create the cache file if it does not already exists. |
| 250 | ** |
| 251 |
| --- src/cache.c | |
| +++ src/cache.c | |
| @@ -240,11 +240,11 @@ | |
| 240 | /* |
| 241 | ** COMMAND: cache* |
| 242 | ** Usage: %fossil cache SUBCOMMAND |
| 243 | ** |
| 244 | ** Manage the cache used for potentially expensive web pages such as |
| 245 | ** /zip and /tarball. SUBCOMMAND can be: |
| 246 | ** |
| 247 | ** clear Remove all entries from the cache. |
| 248 | ** |
| 249 | ** init Create the cache file if it does not already exists. |
| 250 | ** |
| 251 |