Queued the series for 4.9, many thanks.

> @@ -523,16 +538,20 @@
>              f = fs[0]
>              syns[f] = ', '.join(fs)
>              func = e[0]
> +            alias = getattr(func, 'alias', False)

Removed unused variable `alias`.

> @@ -554,11 +557,14 @@
>              # drop prefix in old-style help lines so hg shows the alias
>              self.help = self.help[4 + len(cmd):]
>  
> +        self.owndoc = 'doc' in cfg
>          doc = cfg.get('doc', pycompat.getdoc(fn))
>          if doc is not None:
>              doc = pycompat.sysstr(doc)
>          self.__doc__ = doc
>  
> +        self.helpcategory = cfg.get('category', 
> registrar.command.CATEGORY_NONE)

Maybe the default can be derived from the aliased command?
_______________________________________________
Mercurial-devel mailing list
Mercurial-devel@mercurial-scm.org
https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel

Reply via email to