369
370
371
372
373
374
375
376
377
378
379
380
381
382
|
eflg |= MFESTFLG_UUID;
}
if( (pInclude==0 || glob_match(pInclude, "manifest.tags"))
&& !glob_match(pExclude, "manifest.tags")
&& (flg & MFESTFLG_TAGS) ){
eflg |= MFESTFLG_TAGS;
}
if( eflg & MFESTFLG_RAW ){
blob_append(&filename, "manifest", -1);
zName = blob_str(&filename);
zip_add_folders(zName);
sterilize_manifest(&mfile);
zip_add_file(zName, &mfile, 0);
|
>
>
>
>
>
|
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
|
eflg |= MFESTFLG_UUID;
}
if( (pInclude==0 || glob_match(pInclude, "manifest.tags"))
&& !glob_match(pExclude, "manifest.tags")
&& (flg & MFESTFLG_TAGS) ){
eflg |= MFESTFLG_TAGS;
}
if( (pInclude==0 || glob_match(pInclude, "manifest.symlinks"))
&& !glob_match(pExclude, "manifest.symlinks")
&& (flg & MFESTFLG_SYMLINKS) ){
eflg |= MFESTFLG_SYMLINKS;
}
if( eflg & MFESTFLG_RAW ){
blob_append(&filename, "manifest", -1);
zName = blob_str(&filename);
zip_add_folders(zName);
sterilize_manifest(&mfile);
zip_add_file(zName, &mfile, 0);
|
395
396
397
398
399
400
401
402
403
404
405
406
407
408
|
get_checkin_taglist(rid, &tagslist);
blob_resize(&filename, nPrefix);
blob_append(&filename, "manifest.tags", -1);
zName = blob_str(&filename);
zip_add_folders(zName);
zip_add_file(zName, &tagslist, 0);
blob_reset(&tagslist);
}
}
manifest_file_rewind(pManifest);
while( (pFile = manifest_file_next(pManifest,0))!=0 ){
int fid;
if( pInclude!=0 && !glob_match(pInclude, pFile->zName) ) continue;
if( glob_match(pExclude, pFile->zName) ) continue;
|
>
>
>
>
>
>
>
>
>
>
>
|
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
|
get_checkin_taglist(rid, &tagslist);
blob_resize(&filename, nPrefix);
blob_append(&filename, "manifest.tags", -1);
zName = blob_str(&filename);
zip_add_folders(zName);
zip_add_file(zName, &tagslist, 0);
blob_reset(&tagslist);
}
if( eflg & MFESTFLG_SYMLINKS ){
Blob symlinklist;
blob_zero(&symlinklist);
get_checkin_symlinklist(rid, &symlinklist);
blob_resize(&filename, nPrefix);
blob_append(&filename, "manifest.symlinks", -1);
zName = blob_str(&filename);
zip_add_folders(zName);
zip_add_file(zName, &symlinklist, 0);
blob_reset(&symlinklist);
}
}
manifest_file_rewind(pManifest);
while( (pFile = manifest_file_next(pManifest,0))!=0 ){
int fid;
if( pInclude!=0 && !glob_match(pInclude, pFile->zName) ) continue;
if( glob_match(pExclude, pFile->zName) ) continue;
|