Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
| Comment: | Fix the "add" command so that it will undo a prior "rm". Ticket [34707fabfd8a5d] |
|---|---|
| Downloads: | Tarball | ZIP archive |
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA1: |
feed6232af207151a9a5dc54619d3a98 |
| User & Date: | drh 2011-12-22 13:57:32.159 |
Context
|
2011-12-23
| ||
| 13:51 | Update the built-in SQLite to the latest version from trunk as a beta test of the next SQLite release. ... (check-in: e8f15c0dce user: drh tags: trunk) | |
|
2011-12-22
| ||
| 13:57 | Fix the "add" command so that it will undo a prior "rm". Ticket [34707fabfd8a5d] ... (check-in: feed6232af user: drh tags: trunk) | |
|
2011-12-17
| ||
| 15:20 | Make allow-symlinks a versionable setting. This is a merge from the versionable-settings branch. ... (check-in: c4ade43651 user: drh tags: trunk) | |
Changes
Changes to src/add.c.
| ︙ | ︙ | |||
243 244 245 246 247 248 249 |
}else if( isDir==0 ){
fossil_fatal("not found: %s", zName);
}else if( file_access(zName, R_OK) ){
fossil_fatal("cannot open %s", zName);
}else{
char *zTreeName = &zName[nRoot];
db_multi_exec(
| | < | | 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 |
}else if( isDir==0 ){
fossil_fatal("not found: %s", zName);
}else if( file_access(zName, R_OK) ){
fossil_fatal("cannot open %s", zName);
}else{
char *zTreeName = &zName[nRoot];
db_multi_exec(
"INSERT OR IGNORE INTO sfile(x) VALUES(%Q)",
zTreeName
);
}
blob_reset(&fullName);
}
glob_free(pIgnore);
add_files_in_sfile(vid, caseSensitive);
|
| ︙ | ︙ |