# HG changeset patch # User FUJIWARA Katsunori # Date 2018-06-11 03:32:16 # Node ID 96b2e66dfa74e524c9674c8219878ec6d19e3f27 # Parent 4ca5932065cab7d39c94a5f05a1ad5d834b5b9c9 i18n: omit redundant translatable synopsis text to avoid xgettext warning This empty translatable synopsis text causes xgettext warning below: Empty msgid. It is reserved by GNU gettext: gettext("") returns the header entry with meta information, not the empty string. This "synopsis" argument of @command annotation is omitable. diff --git a/mercurial/debugcommands.py b/mercurial/debugcommands.py --- a/mercurial/debugcommands.py +++ b/mercurial/debugcommands.py @@ -949,8 +949,7 @@ def debugfileset(ui, repo, expr, **opts) ui.write("%s\n" % f) @command('debugformat', - [] + cmdutil.formatteropts, - _('')) + [] + cmdutil.formatteropts) def debugformat(ui, repo, **opts): """display format information about the current repository