Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
| Comment: | Remove redundancy from the "fossil rm" command, as pointed out by Carles Pagès. |
|---|---|
| Downloads: | Tarball | ZIP archive |
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA1: |
7fca007538fea65f96a57974228a2469 |
| User & Date: | drh 2011-03-24 02:08:40.095 |
Context
|
2011-03-24
| ||
| 03:22 | Make the error message on schema version mismatch less confusing. ... (check-in: 4a2019ddd0 user: joerg tags: trunk) | |
| 02:08 | Remove redundancy from the "fossil rm" command, as pointed out by Carles Pagès. ... (check-in: 7fca007538 user: drh tags: trunk) | |
| 01:51 | Update the built-in SQLite to the latest version from the SQLite trunk. ... (check-in: 3d2e8b2ddf user: drh tags: trunk) | |
Changes
Changes to src/add.c.
| ︙ | ︙ | |||
366 367 368 369 370 371 372 |
zName = mprintf("%/", g.argv[i]);
if( file_isdir(zName) == 1 ){
int sz = strlen(zName);
if( sz>0 && zName[sz-1]=='/' ){ zName[sz-1] = 0; }
del_directory_content(zName);
} else {
| < < < < < < < < | < < | 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 |
zName = mprintf("%/", g.argv[i]);
if( file_isdir(zName) == 1 ){
int sz = strlen(zName);
if( sz>0 && zName[sz-1]=='/' ){ zName[sz-1] = 0; }
del_directory_content(zName);
} else {
delete_one_file(zName);
}
free(zName);
}
db_multi_exec("DELETE FROM vfile WHERE deleted AND rid=0");
db_end_transaction(0);
}
|
| ︙ | ︙ |