On 4/29/15, Jan Nijtmans jan.nijtm...@gmail.com wrote:
Hello all,
First to tell, I'm very glad about the strenghtening of fossil clean
--verily.
Second, I would like to keep the --keep option and the keep-glob
setting function as earlier. There are two reasons:
- In the fossil self-hosting repository, keep-glob looks as follows:
$ cat .fossil-settings/keep-glob
compat/openssl*
compat/tcl*
fossil
fossil.exe
win/fossil.exe
It was the (unpleasant) discovery of these patterns in the versioned
keep-glob setting of Fossil that prompted me to strengthen --verily to
overcome them. When I want to remove unmanaged files, I want to
remove them *all*. Not all except ones that somebody else thinks are
important, but *all* of them. If I had my druthers, --verily would be
the default behavior of fossil clean, and the annoying prompts and
the ignoring or keeping of some files would only happen with the
addition of command-line options. Keep things simple and direct. But
I understand that perhaps some users want a customizable interface so
I will not insist on that. However, please do not try to weaken
--verily. It is strong for a purpose. If you don't like that
purpose, then don't use the --verily option. If you want a weakened
version of --verily, then come up with a new option with a new name.
So, --verily will continue to ignore all settings. I am willing to
modify --verily to honor additional --ignore or --keep options on the
command-line. But --verily *shall* ignore all settings. That is the
whole point of --verily. Without that feature, we might as well just
take --verily out completely.
this is for a purpose: In compat/openssl* and compat/tcl* there sometimes
are (temporary) tcl/openssl builds, which I wouldn't like to be removed
completely. If I want to remove them, I simply do rm compat/openssl*,
I don't need fossil for that.
The fossil executables are there to make sure that
./fossil clean --verily wouldn't try to remove itself while running.
Those are the only two practical uses of --keep/keep-glob I am
aware of, at least, that's how I am using it.
- How about fossil clean --verily --keep Makefile? Despite the -keep
option, the Makefile will still be removed.
Regarding the other strengthening options, I agree!
Thanks!
Jan Nijtmans
___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
--
D. Richard Hipp
d...@sqlite.org
___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users