Mercurial > public > mercurial-scm > hg-stable
comparison mercurial/debugcommands.py @ 38854:96b2e66dfa74
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.
author | FUJIWARA Katsunori <foozy@lares.dti.ne.jp> |
---|---|
date | Mon, 11 Jun 2018 12:32:16 +0900 |
parents | b9162ea1b815 |
children | 6371ab78c3b3 |
comparison
equal
deleted
inserted
replaced
38853:4ca5932065ca | 38854:96b2e66dfa74 |
---|---|
947 if not m(f): | 947 if not m(f): |
948 continue | 948 continue |
949 ui.write("%s\n" % f) | 949 ui.write("%s\n" % f) |
950 | 950 |
951 @command('debugformat', | 951 @command('debugformat', |
952 [] + cmdutil.formatteropts, | 952 [] + cmdutil.formatteropts) |
953 _('')) | |
954 def debugformat(ui, repo, **opts): | 953 def debugformat(ui, repo, **opts): |
955 """display format information about the current repository | 954 """display format information about the current repository |
956 | 955 |
957 Use --verbose to get extra information about current config value and | 956 Use --verbose to get extra information about current config value and |
958 Mercurial default.""" | 957 Mercurial default.""" |