Diff
Not logged in

Differences From:

File src/checkin.c part of check-in [9a9cd81738] - Add the -m/--comment and the --nosign options to the commit command. by drh on 2007-08-09 10:48:51. [view]

To:

File src/checkin.c part of check-in [573a464cb7] - Complete rework of the xfer mechanism. Compiles but not yet working. by drh on 2007-08-10 00:08:25. [view]

@@ -351,9 +351,9 @@
     rid = db_column_int(&q, 2);
 
     blob_zero(&content);
     blob_read_from_file(&content, zFullname);
-    nrid = content_put(&content, 0);
+    nrid = content_put(&content, 0, 0);
     if( rid>0 ){
       content_deltify(rid, nrid, 0);
     }
     db_multi_exec("UPDATE vfile SET mrid=%d, rid=%d WHERE id=%d", nrid,nrid,id);
@@ -409,9 +409,9 @@
   blob_write_to_file(&manifest, zManifestFile);
   blob_reset(&manifest);
   blob_read_from_file(&manifest, zManifestFile);
   free(zManifestFile);
-  nvid = content_put(&manifest, 0);
+  nvid = content_put(&manifest, 0, 0);
   if( nvid==0 ){
     fossil_panic("trouble committing manifest: %s", g.zErrMsg);
   }
   manifest_crosslink(nvid, &manifest);