Fossil SCM

Fix an assert in the rebuild command.

drh 2008-06-02 09:54 trunk
Commit cfb1341ae3d84744262cfd682be88549db0f3a47
1 file changed +1 -1
+1 -1
--- src/rebuild.c
+++ src/rebuild.c
@@ -74,11 +74,11 @@
7474
7575
/*
7676
** Called after each artifact is processed
7777
*/
7878
static void rebuild_step_done(rid){
79
- assert( bag_find(&bagDone, rid)==0 );
79
+ /* assert( bag_find(&bagDone, rid)==0 ); */
8080
bag_insert(&bagDone, rid);
8181
if( ttyOutput ){
8282
processCnt++;
8383
printf("%d (%d%%)...\r", processCnt, (processCnt*100/totalSize));
8484
fflush(stdout);
8585
--- 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

Keyboard Shortcuts

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