Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Changes In Branch pending-review Through [7f0507c04d] Excluding Merge-Ins
This is equivalent to a diff from 4e573871bc to 7f0507c04d
2013-05-28
| ||
10:32 | Refactoring of the clean -x option, phase 1. ... (check-in: 0dc31f4bf7 user: mistachkin tags: cleanX) | |
2013-05-27
| ||
09:56 | rebase ... (Closed-Leaf check-in: 7f0507c04d user: jan.nijtmans tags: cleanDashN) | |
09:53 | Implementation simplification: -n implies -f and -v, this way less separate flag-checks have to be done. No change in functionality. ... (Closed-Leaf check-in: 4e573871bc user: jan.nijtmans tags: cleanDashN) | |
08:53 | Better implementation of "fossil clean -x". Previous implementation didn't prompt any more before before removing unknown files when the -x option was used. ... (Closed-Leaf check-in: 6758c2b0d5 user: jan.nijtmans tags: cleanX) | |
03:10 | Minor documentation updates. ... (check-in: 7794d72c5f user: drh tags: trunk) | |
Changes to src/checkin.c.
︙ | |||
234 235 236 237 238 239 240 | 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 | - + | int vid; Stmt q; int verboseFlag; int showAge; char *zOrderBy = "pathname"; verboseFlag = find_option("verbose","v", 0)!=0; |
︙ | |||
379 380 381 382 383 384 385 | 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 | - + + + | /* ** COMMAND: clean ** Usage: %fossil clean ?OPTIONS? ** ** Delete all "extra" files in the source tree. "Extra" files are ** files that are not officially part of the checkout. This operation |
︙ | |||
408 409 410 411 412 413 414 415 416 417 418 | 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 | + + + - + + | ** --ignore <CSG> ignore files matching patterns from the ** comma separated list of glob patterns. ** --keep <CSG> keep files matching this comma separated ** list of glob patterns. ** -n|--dry-run If given, display instead of run actions ** --temp Remove only Fossil-generated temporary files ** -v|--verbose Show all files as they are removed ** -x Remove everything unkown to fossil, ** including files matching --ignore. ** Compatibile with "git clean -x". ** ** See also: addremove, extra, status */ void clean_cmd(void){ |
︙ | |||
450 451 452 453 454 455 456 | 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 | - + - - + + + | db_multi_exec("CREATE TEMP TABLE sfile(x TEXT PRIMARY KEY %s)", filename_collation()); n = strlen(g.zLocalRoot); blob_init(&path, g.zLocalRoot, n-1); pIgnore = glob_create(zIgnoreFlag); pKeep = glob_create(zKeepFlag); pClean = glob_create(zCleanFlag); |
︙ |