Check-in [49ed1961b1]
Not logged in
Overview

SHA1 Hash:49ed1961b18f1121e0b0ca8f8f3a0c0f71724914
Date: 2009-12-09 15:34:39
User: jeremy_c
Comment:Added a DELETED abc.xyz message when using fossil rm. This is the same as fossil add's ADDED abc.xyz message. Also, the word DELETED was choosen over REMOVED because fossil status reports the file as DELETED.
Timelines: ancestors | descendants | both | trunk
Other Links: files | ZIP archive | manifest

Tags And Properties
Changes
[hide diffs]

Modified src/add.c from [c094792c50] to [d5685d9fd3].

@@ -198,10 +198,11 @@
     if( !db_exists(
              "SELECT 1 FROM vfile WHERE pathname=%Q AND NOT deleted", zPath) ){
       fossil_fatal("not in the repository: %s", zName);
     }else{
       db_multi_exec("UPDATE vfile SET deleted=1 WHERE pathname=%Q", zPath);
+      printf("DELETED  %s\n", zPath);
     }
     blob_reset(&pathname);
     free(zName);
   }
   db_multi_exec("DELETE FROM vfile WHERE deleted AND rid=0");