Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Changes In Branch benoit Excluding Merge-Ins
This is equivalent to a diff from 0e1ca296db to 2a4ab3b151
2010-07-30
| ||
00:16 | Merge change by Benoit Mortgat into the trunk. check-in: e3fb8dc36c user: drh tags: trunk | |
2010-07-29
| ||
19:01 | “delete” command, still can use “del” which is shorter and non ambiguous – ignore -wal and -shm files in repository root for adding, computing extras and closing repository, just in case Closed-Leaf check-in: 2a4ab3b151 user: benoit tags: benoit | |
2010-07-28
| ||
02:38 | Add a link to [http://chiselapp.com/] on the homepage. check-in: 0e1ca296db user: drh tags: trunk | |
2010-07-23
| ||
14:38 | Fixed a link error in wiki check-in: 6c73d1b2cd user: BMorgat tags: trunk | |
Changes to src/add.c.
︙ | |||
37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 | 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 | + + + + | const char *zPath; file_tree_name(zName, &pathname, 1); zPath = blob_str(&pathname); if( strcmp(zPath, "manifest")==0 || strcmp(zPath, "_FOSSIL_")==0 || strcmp(zPath, "_FOSSIL_-journal")==0 || strcmp(zPath, "_FOSSIL_-wal")==0 || strcmp(zPath, "_FOSSIL_-shm")==0 || strcmp(zPath, ".fos")==0 || strcmp(zPath, ".fos-journal")==0 || strcmp(zPath, ".fos-wal")==0 || strcmp(zPath, ".fos-shm")==0 || strcmp(zPath, "manifest.uuid")==0 || blob_compare(&pathname, pOmit)==0 ){ fossil_warning("cannot add %s", zPath); }else{ if( !file_is_simple_pathname(zPath) ){ fossil_fatal("filename contains illegal characters: %s", zPath); |
︙ | |||
221 222 223 224 225 226 227 | 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 | - + - + - + | } closedir(d); blob_reset(&path); } /* ** COMMAND: rm |
︙ |
Changes to src/checkin.c.
︙ | |||
269 270 271 272 273 274 275 | 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 | - + + + | if( zIgnoreFlag==0 ){ zIgnoreFlag = db_get("ignore-glob", 0); } vfile_scan(0, &path, blob_size(&path), allFlag); db_prepare(&q, "SELECT x FROM sfile" " WHERE x NOT IN ('manifest','manifest.uuid','_FOSSIL_'," |
︙ | |||
315 316 317 318 319 320 321 | 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 | - + + + | db_multi_exec("CREATE TEMP TABLE sfile(x TEXT PRIMARY KEY)"); n = strlen(g.zLocalRoot); blob_init(&path, g.zLocalRoot, n-1); vfile_scan(0, &path, blob_size(&path), dotfilesFlag); db_prepare(&q, "SELECT %Q || x FROM sfile" " WHERE x NOT IN ('manifest','manifest.uuid','_FOSSIL_'," |
︙ |
Changes to src/checkout.c.
︙ | |||
230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 | 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 | + + + + | /* ** Unlink the local database file */ void unlink_local_database(void){ static const char *azFile[] = { "%s_FOSSIL_", "%s_FOSSIL_-journal", "%s_FOSSIL_-wal", "%s_FOSSIL_-shm", "%s.fos", "%s.fos-journal", "%s.fos-wal", "%s.fos-shm", }; int i; for(i=0; i<sizeof(azFile)/sizeof(azFile[0]); i++){ char *z = mprintf(azFile[i], g.zLocalRoot); unlink(z); free(z); } |
︙ |