I am tired to see people shooting themself in the foot with this. So lets add
more warning. At that point we should probably rename it or add extra
confirmation flag. This is a debug command anyway we can break BC on it.
Details
Details
- Reviewers
pulkit - Group Reviewers
hg-reviewers - Commits
- rHGb986e3342827: debugsetparents: add various warning in the help message
Diff Detail
Diff Detail
- Repository
- rHG Mercurial
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.
Event Timeline
Comment Actions
What do you think about disabling this command entirely by default via config (like we do with rollback), and blasting this text out if the config is not set? I fear most usage of this is cargoculting off of SO, so people aren't going to see this in the help.
Comment Actions
Disabling the command and making it available through a config seems fine. Can we get the doc update anyways ? I'll follow up with the config (an update of the doc that point to the config).