This is an archive of the discontinued Mercurial Phabricator instance.

relnote: remove the reference to `debugstrip`
ClosedPublic

Authored by marmoute on Jan 18 2021, 4:25 AM.

Details

Summary

The debug namespace is not intended for end user and advertising it is a path
to confusion and trouble. I think we should wait for the admin namespace to
exists and the command to be available as admin--strip before we advertise it.

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

marmoute created this revision.Jan 18 2021, 4:25 AM
Alphare accepted this revision.Feb 8 2021, 5:04 AM

Apparently this did not make it to core before the release… We need to get the changelog fixed.

cc @martinvonz @pulkit @mharbison72

Apparently this did not make it to core before the release… We need to get the changelog fixed.
cc @martinvonz @pulkit @mharbison72

Also cc @valentin.gatienbaron who added the section to the release notes.

I haven't been involved in the discussion about namespaces and wasn't even aware that this would become hg admin--strip, but that seems fine to me. Thoughts from someone who has followed the discussion more closely?

No particular opinion, I have not really followed this namespace discussion. I would have thought there's a number of other debugcommands that are admin commands, like debugrebuilddirstate, so one more wouldn't make a difference, but maybe that's incorrect.

No particular opinion, I have not really followed this namespace discussion. I would have thought there's a number of other debugcommands that are admin commands, like debugrebuilddirstate, so one more wouldn't make a difference, but maybe that's incorrect.

I don't think the other "debug command that are used as admin command" have beend publicly advertised in the Mercurial changelog so far. And this is what I am trying to avoid, having users expecting the debug namespace to be safe.

martinvonz accepted this revision.Feb 9 2021, 1:27 PM

Queued

This revision is now accepted and ready to land.Feb 9 2021, 1:27 PM
This revision was automatically updated to reflect the committed changes.