497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
|
if( pManifest ){
manifest_file_rewind(pManifest);
while( (pFile = manifest_file_next(pManifest,0))!=0 ){
if( fossil_strcmp(pFile->zName, file)==0 ){
rid = uuid_to_rid(pFile->zUuid, 0);
manifest_destroy(pManifest);
if( isLink!=NULL && pFile->zPerm != 0){
*isLink = strstr(pFile->zPerm, "l") ? 1 : 0;
}
return content_get(rid, content);
}
}
manifest_destroy(pManifest);
if( errCode<=0 ){
fossil_fatal("file %s does not exist in checkin: %s", file, revision);
|
|
|
|
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
|
if( pManifest ){
manifest_file_rewind(pManifest);
while( (pFile = manifest_file_next(pManifest,0))!=0 ){
if( fossil_strcmp(pFile->zName, file)==0 ){
rid = uuid_to_rid(pFile->zUuid, 0);
manifest_destroy(pManifest);
if( isLink!=NULL ){
*isLink = pFile->zPerm && strstr(pFile->zPerm, "l") ? 1 : 0;
}
return content_get(rid, content);
}
}
manifest_destroy(pManifest);
if( errCode<=0 ){
fossil_fatal("file %s does not exist in checkin: %s", file, revision);
|