Fossil SCM
Fix the "clean" command to use --force instead of --all. Ticket [c3d668ad52]
Commit
5308e4681530d77a3d023183f3b90ed1a0eebf75
Parent
adb155b6d490a9e…
1 file changed
+2
-2
+2
-2
| --- src/checkin.c | ||
| +++ src/checkin.c | ||
| @@ -206,11 +206,11 @@ | ||
| 206 | 206 | ** files that are not officially part of the checkout. See also |
| 207 | 207 | ** the "extra" command. This operation cannot be undone. |
| 208 | 208 | ** |
| 209 | 209 | ** You will be prompted before removing each file. If you are |
| 210 | 210 | ** sure you wish to remove all "extra" files you can specify the |
| 211 | -** optional --force flag and no prmpts will be issued. | |
| 211 | +** optional --force flag and no prompts will be issued. | |
| 212 | 212 | ** |
| 213 | 213 | ** Files and subdirectories whose names begin with "." are |
| 214 | 214 | ** normally ignored. They are included if the "--dotfiles" option |
| 215 | 215 | ** is used. |
| 216 | 216 | */ |
| @@ -218,11 +218,11 @@ | ||
| 218 | 218 | int allFlag; |
| 219 | 219 | int dotfilesFlag; |
| 220 | 220 | Blob path, repo; |
| 221 | 221 | Stmt q; |
| 222 | 222 | int n; |
| 223 | - allFlag = find_option("all","a",0)!=0; | |
| 223 | + allFlag = find_option("force","f",0)!=0; | |
| 224 | 224 | dotfilesFlag = find_option("dotfiles",0,0)!=0; |
| 225 | 225 | db_must_be_within_tree(); |
| 226 | 226 | db_multi_exec("CREATE TEMP TABLE sfile(x TEXT PRIMARY KEY)"); |
| 227 | 227 | n = strlen(g.zLocalRoot); |
| 228 | 228 | blob_init(&path, g.zLocalRoot, n-1); |
| 229 | 229 |
| --- src/checkin.c | |
| +++ src/checkin.c | |
| @@ -206,11 +206,11 @@ | |
| 206 | ** files that are not officially part of the checkout. See also |
| 207 | ** the "extra" command. This operation cannot be undone. |
| 208 | ** |
| 209 | ** You will be prompted before removing each file. If you are |
| 210 | ** sure you wish to remove all "extra" files you can specify the |
| 211 | ** optional --force flag and no prmpts will be issued. |
| 212 | ** |
| 213 | ** Files and subdirectories whose names begin with "." are |
| 214 | ** normally ignored. They are included if the "--dotfiles" option |
| 215 | ** is used. |
| 216 | */ |
| @@ -218,11 +218,11 @@ | |
| 218 | int allFlag; |
| 219 | int dotfilesFlag; |
| 220 | Blob path, repo; |
| 221 | Stmt q; |
| 222 | int n; |
| 223 | allFlag = find_option("all","a",0)!=0; |
| 224 | dotfilesFlag = find_option("dotfiles",0,0)!=0; |
| 225 | db_must_be_within_tree(); |
| 226 | db_multi_exec("CREATE TEMP TABLE sfile(x TEXT PRIMARY KEY)"); |
| 227 | n = strlen(g.zLocalRoot); |
| 228 | blob_init(&path, g.zLocalRoot, n-1); |
| 229 |
| --- src/checkin.c | |
| +++ src/checkin.c | |
| @@ -206,11 +206,11 @@ | |
| 206 | ** files that are not officially part of the checkout. See also |
| 207 | ** the "extra" command. This operation cannot be undone. |
| 208 | ** |
| 209 | ** You will be prompted before removing each file. If you are |
| 210 | ** sure you wish to remove all "extra" files you can specify the |
| 211 | ** optional --force flag and no prompts will be issued. |
| 212 | ** |
| 213 | ** Files and subdirectories whose names begin with "." are |
| 214 | ** normally ignored. They are included if the "--dotfiles" option |
| 215 | ** is used. |
| 216 | */ |
| @@ -218,11 +218,11 @@ | |
| 218 | int allFlag; |
| 219 | int dotfilesFlag; |
| 220 | Blob path, repo; |
| 221 | Stmt q; |
| 222 | int n; |
| 223 | allFlag = find_option("force","f",0)!=0; |
| 224 | dotfilesFlag = find_option("dotfiles",0,0)!=0; |
| 225 | db_must_be_within_tree(); |
| 226 | db_multi_exec("CREATE TEMP TABLE sfile(x TEXT PRIMARY KEY)"); |
| 227 | n = strlen(g.zLocalRoot); |
| 228 | blob_init(&path, g.zLocalRoot, n-1); |
| 229 |