Fossil SCM
Always print a warning if "fossil clean" is unable to remove a file, even if the --verbose option is omitted.
Commit
6c2a2087d2c4ad9fdfa69a23badd04d4cab5f371
Parent
1c9da04a39c9b06…
1 file changed
+1
-1
+1
-1
| --- src/checkin.c | ||
| +++ src/checkin.c | ||
| @@ -833,11 +833,11 @@ | ||
| 833 | 833 | } |
| 834 | 834 | if( dryRunFlag || file_delete(zName)==0 ){ |
| 835 | 835 | if( verboseFlag || dryRunFlag ){ |
| 836 | 836 | fossil_print("Removed unmanaged file: %s\n", zName+nRoot); |
| 837 | 837 | } |
| 838 | - }else if( verboseFlag ){ | |
| 838 | + }else{ | |
| 839 | 839 | fossil_print("Could not remove file: %s\n", zName+nRoot); |
| 840 | 840 | } |
| 841 | 841 | } |
| 842 | 842 | db_finalize(&q); |
| 843 | 843 | if( !dryRunFlag && !disableUndo ) undo_finish(); |
| 844 | 844 |
| --- src/checkin.c | |
| +++ src/checkin.c | |
| @@ -833,11 +833,11 @@ | |
| 833 | } |
| 834 | if( dryRunFlag || file_delete(zName)==0 ){ |
| 835 | if( verboseFlag || dryRunFlag ){ |
| 836 | fossil_print("Removed unmanaged file: %s\n", zName+nRoot); |
| 837 | } |
| 838 | }else if( verboseFlag ){ |
| 839 | fossil_print("Could not remove file: %s\n", zName+nRoot); |
| 840 | } |
| 841 | } |
| 842 | db_finalize(&q); |
| 843 | if( !dryRunFlag && !disableUndo ) undo_finish(); |
| 844 |
| --- src/checkin.c | |
| +++ src/checkin.c | |
| @@ -833,11 +833,11 @@ | |
| 833 | } |
| 834 | if( dryRunFlag || file_delete(zName)==0 ){ |
| 835 | if( verboseFlag || dryRunFlag ){ |
| 836 | fossil_print("Removed unmanaged file: %s\n", zName+nRoot); |
| 837 | } |
| 838 | }else{ |
| 839 | fossil_print("Could not remove file: %s\n", zName+nRoot); |
| 840 | } |
| 841 | } |
| 842 | db_finalize(&q); |
| 843 | if( !dryRunFlag && !disableUndo ) undo_finish(); |
| 844 |