Overview
SHA1 Hash: | 5308e4681530d77a3d023183f3b90ed1a0eebf75 |
---|---|
Date: | 2009-10-11 19:52:21 |
User: | drh |
Comment: | Fix the "clean" command to use --force instead of --all.
Ticket |
Timelines: | ancestors | descendants | both | trunk |
Other Links: | files | ZIP archive | manifest |
Tags And Properties
- branch=trunk inherited from [a28c83647d]
- sym-trunk inherited from [a28c83647d]
Changes
[hide diffs]Modified src/checkin.c from [2e4a6e1c0f] to [b32786b578].
@@ -206,11 +206,11 @@ ** files that are not officially part of the checkout. See also ** the "extra" command. This operation cannot be undone. ** ** You will be prompted before removing each file. If you are ** sure you wish to remove all "extra" files you can specify the -** optional --force flag and no prmpts will be issued. +** optional --force flag and no prompts will be issued. ** ** Files and subdirectories whose names begin with "." are ** normally ignored. They are included if the "--dotfiles" option ** is used. */ @@ -218,11 +218,11 @@ int allFlag; int dotfilesFlag; Blob path, repo; Stmt q; int n; - allFlag = find_option("all","a",0)!=0; + allFlag = find_option("force","f",0)!=0; dotfilesFlag = find_option("dotfiles",0,0)!=0; db_must_be_within_tree(); db_multi_exec("CREATE TEMP TABLE sfile(x TEXT PRIMARY KEY)"); n = strlen(g.zLocalRoot); blob_init(&path, g.zLocalRoot, n-1);