This is an archive of the discontinued Mercurial Phabricator instance.

command: automatically create alias for command using '-' in names
ClosedPublic

Authored by marmoute on Dec 4 2020, 4:25 AM.

Details

Summary

As discussed during the "5.6 Sprint" ignoring dash in command name open the way
to using them more. We can now move existing command to more readable (dash
using) names without breaking any compatibility.

Diff Detail

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

Event Timeline

marmoute created this revision.Dec 4 2020, 4:25 AM
pulkit accepted this revision.Dec 4 2020, 2:18 PM
pulkit added a subscriber: pulkit.

Looks good to me but since I was not there in that sprint discussion, I will let someone else queue it.

mercurial/cmdutil.py
361

Since the logic is growing, some function documentation will be great!

This revision is now accepted and ready to land.Dec 4 2020, 2:18 PM
Alphare accepted this revision.Dec 14 2020, 5:00 AM
Alphare added a subscriber: Alphare.

Same remark as Pulkit, looks good to me otherwise.

baymax updated this revision to Diff 24512.Dec 27 2020, 1:42 PM

โœ… refresh by Heptapod after a successful CI run (๐Ÿ™ ๐Ÿ’š)

Anything I can do to get this pushed ?