Differences From Artifact [57a8410c8d]:
- File src/update.c — part of check-in [0d8cb8e30a] at 2014-07-27 20:52:01 on branch no-initial-commit — Proposed fix for corner-case: [http://permalink.gmane.org/gmane.comp.version-control.fossil-scm.user/17266] (user: jan.nijtmans size: 27846) [more...]
To Artifact [acf9039e4e]:
- File src/update.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: 27913) [more...]
| ︙ | |||
137 138 139 140 141 142 143 144 145 146 147 148 149 150 | 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 | + + + + |
dryRunFlag = find_option("nochange",0,0)!=0; /* deprecated */
}
verboseFlag = find_option("verbose","v",0)!=0;
forceMissingFlag = find_option("force-missing",0,0)!=0;
debugFlag = find_option("debug",0,0)!=0;
setmtimeFlag = find_option("setmtime",0,0)!=0;
capture_case_sensitive_option();
/* We should be done with options.. */
verify_all_options();
db_must_be_within_tree();
vid = db_lget_int("checkout", 0);
user_select();
if( !dryRunFlag && !internalUpdate ){
if( autosync_loop(SYNC_PULL + SYNC_VERBOSE*verboseFlag,
db_get_int("autosync-tries", 1)) ){
fossil_fatal("Cannot proceed with update");
|
| ︙ |