Check-in [2255e4e3ba]
Not logged in
Overview

SHA1 Hash:2255e4e3ba2ecbc64f20e10baa0666b92987d1d4
Date: 2009-12-20 02:58:18
User: drh
Comment:Fix an assertion fault that occurs when attempting to revert a file that is not in the repository. Ticket 3713cea2fc.
Timelines: ancestors | descendants | both | trunk
Other Links: files | ZIP archive | manifest

Tags And Properties
Changes
[hide diffs]

Modified src/update.c from [cbdf43d095] to [eb5c093f17].

@@ -365,10 +365,11 @@
   }
   db_must_be_within_tree();
   db_begin_transaction();
   undo_begin();
 
+  blob_zero(&record);
   for(i=2; i<g.argc; i++){
     zFile = mprintf("%/", g.argv[i]);
     file_tree_name(zFile, &fname, 1);
 
     if( zRevision!=0 ){