On Dec 13, 2017, at 2:21 PM, Zakero <zak...@gmail.com> wrote:
> 
> The "fossil clean" command has the "--emptydirs" option.  That might be 
> useful for the "rm" command as well.

If Fossil got that option, I’d probably forget that it existed a week after the 
change went in.  I’d end up saying something like

    $ find . -type d -delete

instead.

One of the core issues here is the difficulty in making Fossil replicate POSIX 
semantics exactly, because they’re fairly complicated.  The same problem 
plagues the symlink implementation, or at least did until recently.  (I’m 
unsure, having not exercised it since the recent redesign.)

If Fossil had a mkdir command, I’d expect it to have an rmdir command to go 
with it, and then I’d *still* not expect rm to remove directories.
_______________________________________________
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to