Fossil SCM

Remove flag debug prints from status_cmd() now that it seems to be stable

andygoth 2016-11-06 02:39 UTC andygoth-changes
Commit 31c6140e7517403f14b51b819fd209a2d2d2db55
1 file changed -16
--- src/checkin.c
+++ src/checkin.c
@@ -411,17 +411,10 @@
411411
{"merge" , C_MERGE , 0}, {"classify" , C_CLASSIFY , 1},
412412
}, noFlagDefs[] = {
413413
{"no-merge", C_MERGE , 0}, {"no-classify", C_CLASSIFY , 1},
414414
};
415415
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
-
423416
Blob report = BLOB_INITIALIZER;
424417
int useSha1sum = find_option("sha1sum", 0, 0)!=0;
425418
int showHdr = find_option("header",0,0)!=0;
426419
int verboseFlag = find_option("verbose","v",0)!=0;
427420
const char *zIgnoreFlag = find_option("ignore", 0, 1);
@@ -480,19 +473,10 @@
480473
/* Relative path flag determination is done by a shared function. */
481474
if( determine_cwd_relative_option() ){
482475
flags |= C_RELPATH;
483476
}
484477
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
-
494478
/* We should be done with options. */
495479
verify_all_options();
496480
497481
/* Check for changed files. */
498482
vfile_check_signature(vid, useSha1sum ? CKSIG_SHA1 : 0);
499483
--- 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

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button