Fossil

Check-in [9fbc052c]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Fix issue introduced by previous fix.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | symlinks
Files: files | file ages | folders
SHA1:9fbc052c88fb4e9b8c3d4f888da2cb6600e005b4
User & Date: dmitry 2011-02-07 17:57:13
Context
2011-08-22
22:20
Merge trunk. check-in: c57830be user: dmitry tags: symlinks
2011-02-07
17:57
Fix issue introduced by previous fix. check-in: 9fbc052c user: dmitry tags: symlinks
17:51
Merge latest trunk. check-in: d7d335a6 user: dmitry tags: symlinks
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to src/update.c.

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);