Diff
Not logged in

Differences From:

File src/undo.c part of check-in [6f5654c7ab] - Fix bugs in undo/redo. Appears to work now but not heavily tested. by drh on 2007-09-12 01:46:14. Also file src/undo.c part of check-in [f76192b245] - Pulled the latest CLI, website, and sqlite changes into the importer branch. by aku on 2007-09-17 01:00:32. [view]

To:

File src/undo.c part of check-in [2ecc407d9b] - The "extra" and "clean" commands ignore the repository file if the repository happens to be within the check-out. Ticket c7b35be88. by drh on 2008-07-23 13:01:23. [view]

@@ -216,9 +216,9 @@
     }
     for(i=2; i<g.argc; i++){
       const char *zFile = g.argv[i];
       Blob path;
-      file_tree_name(zFile, &path);
+      file_tree_name(zFile, &path, 1);
       undo_one(blob_str(&path), 0);
       blob_reset(&path);
     }
   }
@@ -256,11 +256,11 @@
     }
     for(i=2; i<g.argc; i++){
       const char *zFile = g.argv[i];
       Blob path;
-      file_tree_name(zFile, &path);
+      file_tree_name(zFile, &path, 1);
       undo_one(blob_str(&path), 0);
       blob_reset(&path);
     }
   }
   db_end_transaction(0);
 }