Fossil SCM

turn clean command off on a repository

Closed

7adb22b0ff31dd1… · opened 17 years, 5 months ago

Type
Feature_Request
Priority
Medium
Severity
Important
Resolution
Not_A_Bug
Subsystem
—
Created
June 22, 2009 7:39 p.m. UTC

I would like fossil to turn off the clean command adminastrativly. This is for managing config files on a server, ie /etc. I would not want to put /etc/shadow in fossil but I would really be bumed if I typed "fossil clean" and it was not.

Thanks for the quite useful tool btw,

marc

Comments (1)

stephan 13 years, 10 months ago

This doesn't sound terribly realistic in terms of expected features. A user cannot (normally) disable a specific menu of a program just because he doesn't like it, and fossil running in local (not network) mode assumes the user knows what he's doing - it offers lots of chances for users to shoot themselves in the foot if they're not careful (e.g. irrevocably losing stashed changes via 'close'ing the repo). Such a feature also implies the addition of a --force (or similar) command to force execution of a disabled command. That, in turn, would give the user back his gun so that he could shoot himself in the foot again. It would also have side-effects on any commands which themselves use such a flag for other purposes.

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button