Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
| Comment: | If files named on the "fossil add" command are not present, make that a warning rather than a fatal error. |
|---|---|
| Downloads: | Tarball | ZIP archive |
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA1: |
810976a7502ef631278d306a2bac866e |
| User & Date: | drh 2012-06-10 22:29:47.304 |
Context
|
2012-06-10
| ||
| 22:31 | Merge the autosetup and winsrv branches into trunk. ... (check-in: 1ac9cece64 user: drh tags: trunk) | |
| 22:29 | If files named on the "fossil add" command are not present, make that a warning rather than a fatal error. ... (check-in: 810976a750 user: drh tags: trunk) | |
|
2012-06-08
| ||
| 03:12 | On unix, use the ".fslckout" name instead of "_FOSSIL_" for the local checkout database. Both names have been and continue to recognized. But now ".fslckout" is created by "fossil open" instead of "_FOSSIL_". the "_FOSSIL_" name is still used on windows. ... (check-in: 432306beca user: drh tags: trunk) | |
Changes
Changes to src/add.c.
| ︙ | ︙ | |||
250 251 252 253 254 255 256 |
file_canonical_name(g.argv[i], &fullName, 0);
zName = blob_str(&fullName);
isDir = file_wd_isdir(zName);
if( isDir==1 ){
vfile_scan(&fullName, nRoot-1, includeDotFiles, pIgnore);
}else if( isDir==0 ){
| | | 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 |
file_canonical_name(g.argv[i], &fullName, 0);
zName = blob_str(&fullName);
isDir = file_wd_isdir(zName);
if( isDir==1 ){
vfile_scan(&fullName, nRoot-1, includeDotFiles, pIgnore);
}else if( isDir==0 ){
fossil_warning("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
|
| ︙ | ︙ |