Fossil 1.26 has a new --keep option and a new "keep-glob" setting which is very useful for "fossil clean". Fossil's own repository uses this to protect the just-built fossil executable to be removed while running. But when using the --ignore or --keep options, it will not always be clear what happens for people not knowing that.
Therefore I suggest to add a few warning messages, when the option --ignore is used. When not using --ignore, this has no effect. E.g, suppose the user wants to clean it's build environment, except for everything in the "compat" directory: $ fossil clean --ignore compat/\* -f The user has no clue that the fossil executable is not removed, because fossil gives no output. Then, assume that the user knows about the --keep option: $ fossil clean --ignore compat/\* --keep "" -f No output here either. Fossil as in the "pending-review" branch behaves like this: $ fossil clean --ignore compat/\* -f WARNING: KEPT file "fossil.exe" not removed $ fossil clean --ignore compat/\* --keep "" -f Removed ignored file: fossil.exe Feedback appreciated! Any objections putting this in trunk? Regards, Jan Nijtmans _______________________________________________ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users