Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
| Comment: | Fixed bug [2245a1e3d0]. rm command now properly checks return value. |
|---|---|
| Downloads: | Tarball | ZIP archive |
| Timelines: | family | ancestors | descendants | both | trunk | release |
| Files: | files | file ages | folders |
| SHA1: |
02f638a16fb83f3b4d1cfc3f9dc096e9 |
| User & Date: | jeremy_c 2010-02-13 12:30:48.000 |
References
|
2010-02-16
| ||
| 04:54 | • New ticket [eff2cbe5ae] info prints two colons for user-home. ... (artifact: 7329aa4511 user: anonymous) | |
Context
|
2010-02-15
| ||
| 21:01 | Remove superfluous word, as per [6b8dcc1d67171f3e30]. ... (check-in: 05b44d58a0 user: bch tags: trunk) | |
|
2010-02-13
| ||
| 12:30 | Fixed bug [2245a1e3d0]. rm command now properly checks return value. ... (check-in: 02f638a16f user: jeremy_c tags: trunk, release) | |
|
2010-02-10
| ||
| 13:13 | Bug fix in the graph layout algorithm. ... (check-in: 95ae79d504 user: drh tags: trunk) | |
Changes
Changes to src/add.c.
| ︙ | ︙ | |||
247 248 249 250 251 252 253 |
fossil_panic("no checkout to remove from");
}
db_begin_transaction();
for(i=2; i<g.argc; i++){
char *zName;
zName = mprintf("%/", g.argv[i]);
| | | 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 |
fossil_panic("no checkout to remove from");
}
db_begin_transaction();
for(i=2; i<g.argc; i++){
char *zName;
zName = mprintf("%/", g.argv[i]);
if( file_isdir(zName) == 1 ){
del_directory_content(zName);
} else {
char *zPath;
Blob pathname;
file_tree_name(zName, &pathname, 1);
zPath = blob_str(&pathname);
if( !db_exists(
|
| ︙ | ︙ |