D6442: help: include subtopic in error message if passed

ngoldbaum (Nathan Goldbaum) phabricator at mercurial-scm.org
Fri May 24 09:20:20 EDT 2019


ngoldbaum added inline comments.

INLINE COMMENTS

> av6 wrote in help.py:826
> Concatenating things is not the best option when it comes to i18n, but even if it were, I think it would make sense to only show here the subtopic, if it's provided. If people are curious about internals.foobar (or config.foobar), then `hg help -k foobar` helps way more than `hg help -k internals`. And we already make sure that the topic that comes before the dot exists, right?

Fair enough, I agree just the subtopic is fine.

REPOSITORY
  rHG Mercurial

REVISION DETAIL
  https://phab.mercurial-scm.org/D6442

To: ngoldbaum, #hg-reviewers
Cc: av6, mercurial-devel


More information about the Mercurial-devel mailing list