Differences From Artifact [febf7fff38]:
- File src/zip.c — part of check-in [450b62ff3a] at 2014-04-25 21:11:13 on branch trunk — Add a cache that will save /zip and /tarball objects and reissue them from cache when requested a second time. The "fossil cache" command is used to control the cache. Turned off by default and must be enabled using "fossil cache init". (user: drh size: 12439) [more...]
To Artifact [33d1c28172]:
- File src/zip.c — part of check-in [a426154b3e] at 2014-07-30 15:40:03 on branch verify-all-options — Call verify_all_options() on most of fossil CLI commands. - Skip all the test-* commands for now (may be unnecessary) - Skip sha1sum, md5sum and artifact because they can take "-" as argument and verify_all_options() would call fatal. Need to handle those differently... - Command with subcommands that have their options are remaining: branch, bisect, cache, configuration, json, sql, stash, tag, ticket, user, wiki. (not sure how to handle those yet..) (user: mgagnon size: 12508) [more...]
| ︙ | ︙ | |||
391 392 393 394 395 396 397 398 399 400 401 402 403 404 |
*/
void baseline_zip_cmd(void){
int rid;
Blob zip;
const char *zName;
zName = find_option("name", 0, 1);
db_find_and_open_repository(0, 0);
if( g.argc!=4 ){
usage("VERSION OUTPUTFILE");
}
rid = name_to_typed_rid(g.argv[2],"ci");
if( zName==0 ){
zName = db_text("default-name",
"SELECT replace(%Q,' ','_') "
| > > > > | 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 |
*/
void baseline_zip_cmd(void){
int rid;
Blob zip;
const char *zName;
zName = find_option("name", 0, 1);
db_find_and_open_repository(0, 0);
/* We should be done with options.. */
verify_all_options();
if( g.argc!=4 ){
usage("VERSION OUTPUTFILE");
}
rid = name_to_typed_rid(g.argv[2],"ci");
if( zName==0 ){
zName = db_text("default-name",
"SELECT replace(%Q,' ','_') "
|
| ︙ | ︙ |