414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
|
int n;
Stmt q;
int vid;
Blob repo;
int nAdd = 0;
int nDelete = 0;
if( zIgnoreFlag==0 ){
zIgnoreFlag = db_get("ignore-glob", 0);
}
db_must_be_within_tree();
vid = db_lget_int("checkout",0);
if( vid==0 ){
fossil_panic("no checkout to add to");
}
db_begin_transaction();
db_multi_exec("CREATE TEMP TABLE sfile(x TEXT PRIMARY KEY)");
n = strlen(g.zLocalRoot);
|
>
<
|
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
|
int n;
Stmt q;
int vid;
Blob repo;
int nAdd = 0;
int nDelete = 0;
db_must_be_within_tree();
if( zIgnoreFlag==0 ){
zIgnoreFlag = db_get("ignore-glob", 0);
}
vid = db_lget_int("checkout",0);
if( vid==0 ){
fossil_panic("no checkout to add to");
}
db_begin_transaction();
db_multi_exec("CREATE TEMP TABLE sfile(x TEXT PRIMARY KEY)");
n = strlen(g.zLocalRoot);
|