Fossil SCM
Fix an assert in the rebuild command.
Commit
cfb1341ae3d84744262cfd682be88549db0f3a47
Parent
5b61ad3a4c7c9f2…
1 file changed
+1
-1
+1
-1
| --- src/rebuild.c | ||
| +++ src/rebuild.c | ||
| @@ -74,11 +74,11 @@ | ||
| 74 | 74 | |
| 75 | 75 | /* |
| 76 | 76 | ** Called after each artifact is processed |
| 77 | 77 | */ |
| 78 | 78 | static void rebuild_step_done(rid){ |
| 79 | - assert( bag_find(&bagDone, rid)==0 ); | |
| 79 | + /* assert( bag_find(&bagDone, rid)==0 ); */ | |
| 80 | 80 | bag_insert(&bagDone, rid); |
| 81 | 81 | if( ttyOutput ){ |
| 82 | 82 | processCnt++; |
| 83 | 83 | printf("%d (%d%%)...\r", processCnt, (processCnt*100/totalSize)); |
| 84 | 84 | fflush(stdout); |
| 85 | 85 |
| --- src/rebuild.c | |
| +++ src/rebuild.c | |
| @@ -74,11 +74,11 @@ | |
| 74 | |
| 75 | /* |
| 76 | ** Called after each artifact is processed |
| 77 | */ |
| 78 | static void rebuild_step_done(rid){ |
| 79 | assert( bag_find(&bagDone, rid)==0 ); |
| 80 | bag_insert(&bagDone, rid); |
| 81 | if( ttyOutput ){ |
| 82 | processCnt++; |
| 83 | printf("%d (%d%%)...\r", processCnt, (processCnt*100/totalSize)); |
| 84 | fflush(stdout); |
| 85 |
| --- src/rebuild.c | |
| +++ src/rebuild.c | |
| @@ -74,11 +74,11 @@ | |
| 74 | |
| 75 | /* |
| 76 | ** Called after each artifact is processed |
| 77 | */ |
| 78 | static void rebuild_step_done(rid){ |
| 79 | /* assert( bag_find(&bagDone, rid)==0 ); */ |
| 80 | bag_insert(&bagDone, rid); |
| 81 | if( ttyOutput ){ |
| 82 | processCnt++; |
| 83 | printf("%d (%d%%)...\r", processCnt, (processCnt*100/totalSize)); |
| 84 | fflush(stdout); |
| 85 |