fossil help clean documents --force as an option, but in fact the correct option is --all. also, fossil does not remove folders on fossil clean --all though the documentation implies that folders will be removed.
PS C:\rev\src\xywinservice\src\bin\Release> fossil help clean
Usage: c:\rev\bin\fossil.exe clean ?--force? ?--dotfiles?
Delete all "extra" files in the source tree. "Extra" files are
files that are not officially part of the checkout. See also
the "extra" command. This operation cannot be undone.
You will be prompted before removing each file. If you are
sure you wish to remove all "extra" files you can specify the
optional --force flag and no prmpts will be issued.
Files and subdirectories whose names begin with "." are
normally ignored. They are included if the "--dotfiles" option
is used.
PS C:\rev\src\xywinservice\src\bin\Release> fossil ver
This is fossil version ca08c1d1b3 2009-09-23 16:54:54 UTC
PS C:\rev\src\xywinservice\src\bin\Release>
anonymous claiming to be Dmitry Chestnykh added on 2009-10-15 07:54:01:
Options issue is duplicate of c3d668ad52, so I'm renaming this ticket.
Confirmed here: "fossil clean --force" doesn't remove directories.
anonymous claiming to be Dmitry Chestnykh added on 2009-10-15 08:05:25:
Removal of empty directories on clean --force is not documented and not implemented, so marking this as a feature request.
rwilson added on 2009-10-15 23:29:20:
to be clear, i'm not requesting a '--force' feature. i'm requesting that the '--force' option in the documentation be reconciled with the undocumented '--all' feature that apparently performs what was intended by '--force'.
also, if you read the doc at fossil help clean (below) it clearly implies that directories should be affected by a clean - namely because the --dotfiles option causes certain folders to be cleaned when it is invoked, though it is not clear what happens to the folders.
Usage: c:\rev\bin\fossil.exe clean ?--force? ?--dotfiles?
Delete all "extra" files in the source tree. "Extra" files are
files that are not officially part of the checkout. See also
the "extra" command. This operation cannot be undone.
You will be prompted before removing each file. If you are
sure you wish to remove all "extra" files you can specify the
optional --force flag and no prmpts will be issued.
Files and subdirectories whose names begin with "." are
normally ignored. They are included if the "--dotfiles" option
is used.
anonymous claiming to be Dmitry Chestnykh added on 2009-10-16 09:40:19:
This has been fixed in c3d668ad52. Please see check-in 5308e468153 (it's not yet in binary distribution).
rwilson added on 2009-10-16 13:45:43:
ah yes. my mistake.