This is an archive of the discontinued Mercurial Phabricator instance.

command-namespace: use `::` are the command separator
ClosedPublic

Authored by marmoute on Jan 25 2021, 9:36 PM.

Details

Summary

This was discussed on the mailing list / phab and :: got a couple of positive
feedback.

I dediced to not introduce automatic folding of ::, I feel like it make sense
for -, but I like the expliciteness of ::.

So I am adding alias for backward compatibility.

Diff Detail

Repository
rHG Mercurial
Branch
default
Lint
No Linters Available
Unit
No Unit Test Coverage

Event Timeline

marmoute created this revision.Jan 25 2021, 9:36 PM
pulkit added a subscriber: pulkit.Jan 26 2021, 3:06 PM

Sorry, but it hit me now that can subcommands support be a better option here?

Sorry, but it hit me now that can subcommands support be a better option here?

No, the intended usecase for namespace is for widly unrelated command (but for their namespace). I am just starting with perf because it is a de-factor already existing namespace.

This revision was not accepted when it landed; it landed in state Needs Review.
This revision was automatically updated to reflect the committed changes.