changeset 40435:7e2c58b08e74 stable

phabricator: ensure the command summaries are available in extension help Previously, `hg help phabricator` listed the 3 supported commands at the bottom of the extension help, but said "no help text available".
author Matt Harbison <matt_harbison@yahoo.com>
date Sat, 10 Nov 2018 22:25:12 -0500
parents 6107d4549fcc
children 7589f2c9c3c7
files hgext/phabricator.py
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/hgext/phabricator.py	Fri Nov 09 23:49:39 2018 +0000
+++ b/hgext/phabricator.py	Sat Nov 10 22:25:12 2018 -0500
@@ -142,6 +142,7 @@
                         return fn(*args, **kwargs)
             return fn(*args, **kwargs)
         inner.__name__ = fn.__name__
+        inner.__doc__ = fn.__doc__
         return command(name, fullflags, spec)(inner)
     return decorate