| | @@ -39,12 +39,16 @@ |
| 39 | 39 | file_tree_name(zName, &pathname, 1); |
| 40 | 40 | zPath = blob_str(&pathname); |
| 41 | 41 | if( strcmp(zPath, "manifest")==0 |
| 42 | 42 | || strcmp(zPath, "_FOSSIL_")==0 |
| 43 | 43 | || strcmp(zPath, "_FOSSIL_-journal")==0 |
| 44 | + || strcmp(zPath, "_FOSSIL_-wal")==0 |
| 45 | + || strcmp(zPath, "_FOSSIL_-shm")==0 |
| 44 | 46 | || strcmp(zPath, ".fos")==0 |
| 45 | 47 | || strcmp(zPath, ".fos-journal")==0 |
| 48 | + || strcmp(zPath, ".fos-wal")==0 |
| 49 | + || strcmp(zPath, ".fos-shm")==0 |
| 46 | 50 | || strcmp(zPath, "manifest.uuid")==0 |
| 47 | 51 | || blob_compare(&pathname, pOmit)==0 |
| 48 | 52 | ){ |
| 49 | 53 | fossil_warning("cannot add %s", zPath); |
| 50 | 54 | }else{ |
| | @@ -223,22 +227,22 @@ |
| 223 | 227 | blob_reset(&path); |
| 224 | 228 | } |
| 225 | 229 | |
| 226 | 230 | /* |
| 227 | 231 | ** COMMAND: rm |
| 228 | | -** COMMAND: del |
| 232 | +** COMMAND: delete |
| 229 | 233 | ** |
| 230 | 234 | ** Usage: %fossil rm FILE... |
| 231 | | -** or: %fossil del FILE... |
| 235 | +** or: %fossil delete FILE... |
| 232 | 236 | ** |
| 233 | 237 | ** Remove one or more files from the tree. |
| 234 | 238 | ** |
| 235 | 239 | ** This command does not remove the files from disk. It just marks the |
| 236 | 240 | ** files as no longer being part of the project. In other words, future |
| 237 | 241 | ** changes to the named files will not be versioned. |
| 238 | 242 | */ |
| 239 | | -void del_cmd(void){ |
| 243 | +void delete_cmd(void){ |
| 240 | 244 | int i; |
| 241 | 245 | int vid; |
| 242 | 246 | |
| 243 | 247 | db_must_be_within_tree(); |
| 244 | 248 | vid = db_lget_int("checkout", 0); |
| 245 | 249 | |