Without this, a customopt will very likely render like this:
-foo does foo (default: <hgext.myextension.MyOpt object at 0x7f31...>)
I copied this logic from how this is handled in mercurial/help.py.
( )
pulkit |
hg-reviewers |
Without this, a customopt will very likely render like this:
-foo does foo (default: <hgext.myextension.MyOpt object at 0x7f31...>)
I copied this logic from how this is handled in mercurial/help.py.
Automatic diff as part of commit; lint not applicable. |
Automatic diff as part of commit; unit tests not applicable. |