Differences From Artifact [cee859e1c1]:
- File src/db.c — part of check-in [f9080683f0] at 2016-11-15 23:29:47 on branch trunk — Fix revert -r option to mark a reverted file as edited if the reverted-to version does not exactly match the checkout version, even if the file size is equal (user: andygoth size: 109117)
To Artifact [fc8b4d44a4]:
- File src/db.c — part of check-in [5347e26326] at 2016-11-22 22:23:04 on branch trunk — Restore the -R option to the "fossil setting" command. (user: drh size: 109145)
| ︙ | |||
3083 3084 3085 3086 3087 3088 3089 3090 3091 3092 3093 3094 3095 3096 | 3083 3084 3085 3086 3087 3088 3089 3090 3091 3092 3093 3094 3095 3096 3097 | + |
** See also: configuration
*/
void setting_cmd(void){
int i;
int globalFlag = find_option("global","g",0)!=0;
int exactFlag = find_option("exact",0,0)!=0;
int unsetFlag = g.argv[1][0]=='u';
find_repository_option();
verify_all_options();
db_open_config(1, 0);
if( !globalFlag ){
db_find_and_open_repository(OPEN_ANY_SCHEMA | OPEN_OK_NOT_FOUND, 0);
}
if( !g.repositoryOpen ){
globalFlag = 1;
|
| ︙ |