Fossil SCM
Remove flag debug prints from status_cmd() now that it seems to be stable
Commit
31c6140e7517403f14b51b819fd209a2d2d2db55
Parent
f15d20e39b55c7a…
1 file changed
-16
-16
| --- src/checkin.c | ||
| +++ src/checkin.c | ||
| @@ -411,17 +411,10 @@ | ||
| 411 | 411 | {"merge" , C_MERGE , 0}, {"classify" , C_CLASSIFY , 1}, |
| 412 | 412 | }, noFlagDefs[] = { |
| 413 | 413 | {"no-merge", C_MERGE , 0}, {"no-classify", C_CLASSIFY , 1}, |
| 414 | 414 | }; |
| 415 | 415 | |
| 416 | -#ifdef FOSSIL_DEBUG | |
| 417 | - static const char *const bits[] = { | |
| 418 | - "EDITED", "UPDATED", "CHANGED", "MISSING", "ADDED", "DELETED", "RENAMED", | |
| 419 | - "CONFLICT", "META", "UNMODIFIED", "EXTRA", "MERGE", "RELPATH", "CLASSIFY", | |
| 420 | - }; | |
| 421 | -#endif | |
| 422 | - | |
| 423 | 416 | Blob report = BLOB_INITIALIZER; |
| 424 | 417 | int useSha1sum = find_option("sha1sum", 0, 0)!=0; |
| 425 | 418 | int showHdr = find_option("header",0,0)!=0; |
| 426 | 419 | int verboseFlag = find_option("verbose","v",0)!=0; |
| 427 | 420 | const char *zIgnoreFlag = find_option("ignore", 0, 1); |
| @@ -480,19 +473,10 @@ | ||
| 480 | 473 | /* Relative path flag determination is done by a shared function. */ |
| 481 | 474 | if( determine_cwd_relative_option() ){ |
| 482 | 475 | flags |= C_RELPATH; |
| 483 | 476 | } |
| 484 | 477 | |
| 485 | -#ifdef FOSSIL_DEBUG | |
| 486 | - for( i=0; i<count(bits); ++i ){ | |
| 487 | - if( flags & (1 << i) ){ | |
| 488 | - printf("%s ", bits[i]); | |
| 489 | - } | |
| 490 | - } | |
| 491 | - printf("\n"); | |
| 492 | -#endif | |
| 493 | - | |
| 494 | 478 | /* We should be done with options. */ |
| 495 | 479 | verify_all_options(); |
| 496 | 480 | |
| 497 | 481 | /* Check for changed files. */ |
| 498 | 482 | vfile_check_signature(vid, useSha1sum ? CKSIG_SHA1 : 0); |
| 499 | 483 |
| --- src/checkin.c | |
| +++ src/checkin.c | |
| @@ -411,17 +411,10 @@ | |
| 411 | {"merge" , C_MERGE , 0}, {"classify" , C_CLASSIFY , 1}, |
| 412 | }, noFlagDefs[] = { |
| 413 | {"no-merge", C_MERGE , 0}, {"no-classify", C_CLASSIFY , 1}, |
| 414 | }; |
| 415 | |
| 416 | #ifdef FOSSIL_DEBUG |
| 417 | static const char *const bits[] = { |
| 418 | "EDITED", "UPDATED", "CHANGED", "MISSING", "ADDED", "DELETED", "RENAMED", |
| 419 | "CONFLICT", "META", "UNMODIFIED", "EXTRA", "MERGE", "RELPATH", "CLASSIFY", |
| 420 | }; |
| 421 | #endif |
| 422 | |
| 423 | Blob report = BLOB_INITIALIZER; |
| 424 | int useSha1sum = find_option("sha1sum", 0, 0)!=0; |
| 425 | int showHdr = find_option("header",0,0)!=0; |
| 426 | int verboseFlag = find_option("verbose","v",0)!=0; |
| 427 | const char *zIgnoreFlag = find_option("ignore", 0, 1); |
| @@ -480,19 +473,10 @@ | |
| 480 | /* Relative path flag determination is done by a shared function. */ |
| 481 | if( determine_cwd_relative_option() ){ |
| 482 | flags |= C_RELPATH; |
| 483 | } |
| 484 | |
| 485 | #ifdef FOSSIL_DEBUG |
| 486 | for( i=0; i<count(bits); ++i ){ |
| 487 | if( flags & (1 << i) ){ |
| 488 | printf("%s ", bits[i]); |
| 489 | } |
| 490 | } |
| 491 | printf("\n"); |
| 492 | #endif |
| 493 | |
| 494 | /* We should be done with options. */ |
| 495 | verify_all_options(); |
| 496 | |
| 497 | /* Check for changed files. */ |
| 498 | vfile_check_signature(vid, useSha1sum ? CKSIG_SHA1 : 0); |
| 499 |
| --- src/checkin.c | |
| +++ src/checkin.c | |
| @@ -411,17 +411,10 @@ | |
| 411 | {"merge" , C_MERGE , 0}, {"classify" , C_CLASSIFY , 1}, |
| 412 | }, noFlagDefs[] = { |
| 413 | {"no-merge", C_MERGE , 0}, {"no-classify", C_CLASSIFY , 1}, |
| 414 | }; |
| 415 | |
| 416 | Blob report = BLOB_INITIALIZER; |
| 417 | int useSha1sum = find_option("sha1sum", 0, 0)!=0; |
| 418 | int showHdr = find_option("header",0,0)!=0; |
| 419 | int verboseFlag = find_option("verbose","v",0)!=0; |
| 420 | const char *zIgnoreFlag = find_option("ignore", 0, 1); |
| @@ -480,19 +473,10 @@ | |
| 473 | /* Relative path flag determination is done by a shared function. */ |
| 474 | if( determine_cwd_relative_option() ){ |
| 475 | flags |= C_RELPATH; |
| 476 | } |
| 477 | |
| 478 | /* We should be done with options. */ |
| 479 | verify_all_options(); |
| 480 | |
| 481 | /* Check for changed files. */ |
| 482 | vfile_check_signature(vid, useSha1sum ? CKSIG_SHA1 : 0); |
| 483 |