Fossil SCM

Merge the experimental export speed enhancement into trunk.

drh 2011-01-07 16:20 trunk merge
Commit 7aaa2aa4179966cc481ed164c859ad5dc6752ccc
1 file changed +2 -1
+2 -1
--- src/export.c
+++ src/export.c
@@ -180,15 +180,16 @@
180180
if( fid==0 ) continue;
181181
if( pFile->zPerm && strstr(pFile->zPerm,"x") ) zPerm = "100755";
182182
if( !bag_find(&blobs, fid) ) continue;
183183
printf("M %s :%d %s\n", zPerm, fid, pFile->zName);
184184
}
185
- manifest_destroy(p);
185
+ manifest_cache_insert(p);
186186
printf("\n");
187187
}
188188
db_finalize(&q);
189189
bag_clear(&blobs);
190
+ manifest_cache_clear();
190191
191192
192193
/* Output tags */
193194
db_prepare(&q,
194195
"SELECT tagname, rid, strftime('%%s',mtime)"
195196
--- src/export.c
+++ src/export.c
@@ -180,15 +180,16 @@
180 if( fid==0 ) continue;
181 if( pFile->zPerm && strstr(pFile->zPerm,"x") ) zPerm = "100755";
182 if( !bag_find(&blobs, fid) ) continue;
183 printf("M %s :%d %s\n", zPerm, fid, pFile->zName);
184 }
185 manifest_destroy(p);
186 printf("\n");
187 }
188 db_finalize(&q);
189 bag_clear(&blobs);
 
190
191
192 /* Output tags */
193 db_prepare(&q,
194 "SELECT tagname, rid, strftime('%%s',mtime)"
195
--- src/export.c
+++ src/export.c
@@ -180,15 +180,16 @@
180 if( fid==0 ) continue;
181 if( pFile->zPerm && strstr(pFile->zPerm,"x") ) zPerm = "100755";
182 if( !bag_find(&blobs, fid) ) continue;
183 printf("M %s :%d %s\n", zPerm, fid, pFile->zName);
184 }
185 manifest_cache_insert(p);
186 printf("\n");
187 }
188 db_finalize(&q);
189 bag_clear(&blobs);
190 manifest_cache_clear();
191
192
193 /* Output tags */
194 db_prepare(&q,
195 "SELECT tagname, rid, strftime('%%s',mtime)"
196

Keyboard Shortcuts

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