Fossil

Check-in [e21ca81e1a]
Login

Check-in [e21ca81e1a]

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

Overview
Comment:Use delta encoding between baseline manifests separated by delta manifests.
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: e21ca81e1a76f98f2b3d5b5a7124e35e6b718920
User & Date: drh 2010-10-27 11:54:24.000
References
2010-10-27
13:44 Fixed ticket [2517414fef]: baseline manifests should be stored as delta to last baseline plus 2 other changes ... (artifact: 412dba0c4b user: anonymous)
Context
2010-10-27
19:56
Fix a NULL-pointer dereference in "branch new". Ticket [a4a9f45b67cbbcf26]. ... (check-in: ff79f97a07 user: drh tags: trunk)
18:04
merge from trunk ... (check-in: f5740d09c3 user: wolfgang tags: StvPrivateHook2 )
16:06
New higher-performance and backwards-compatible clone logic. ... (check-in: 5ba4439b31 user: drh tags: experimental)
11:54
Use delta encoding between baseline manifests separated by delta manifests. ... (check-in: e21ca81e1a user: drh tags: trunk)
2010-10-26
21:37
Add better usage and help to the "artifact" command. ... (check-in: 57347e6ee8 user: drh tags: trunk)
Changes
Unified Diff Ignore Whitespace Patch
Changes to src/manifest.c.
1182
1183
1184
1185
1186
1187
1188



1189
1190
1191
1192
1193
1194
1195
    content_get(otherRid, &otherContent);
    if( blob_size(&otherContent)==0 ) return;
    *ppOther = manifest_parse(&otherContent, otherRid);
    if( *ppOther==0 ) return;
  }
  if( (pParent->zBaseline==0)==(pChild->zBaseline==0) ){
    content_deltify(pid, cid, 0); 



  }
  
  for(i=0, pChildFile=pChild->aFile; i<pChild->nFile; i++, pChildFile++){
    if( pChildFile->zPrior ){
       pParentFile = manifest_file_seek(pParent, pChildFile->zPrior);
       if( pParentFile ){
         add_one_mlink(cid, pParentFile->zUuid, pChildFile->zUuid,







>
>
>







1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
    content_get(otherRid, &otherContent);
    if( blob_size(&otherContent)==0 ) return;
    *ppOther = manifest_parse(&otherContent, otherRid);
    if( *ppOther==0 ) return;
  }
  if( (pParent->zBaseline==0)==(pChild->zBaseline==0) ){
    content_deltify(pid, cid, 0); 
  }else if( pChild->zBaseline==0 && pParent->zBaseline!=0 ){
    fetch_baseline(pParent);
    content_deltify(pParent->pBaseline->rid, cid, 0);
  }
  
  for(i=0, pChildFile=pChild->aFile; i<pChild->nFile; i++, pChildFile++){
    if( pChildFile->zPrior ){
       pParentFile = manifest_file_seek(pParent, pChildFile->zPrior);
       if( pParentFile ){
         add_one_mlink(cid, pParentFile->zUuid, pChildFile->zUuid,