# HG changeset patch # User FUJIWARA Katsunori # Date 2016-02-10 13:44:28 # Node ID f68ded00cae59bf446e74c4d537e26540fda1034 # Parent e4f70e79a65f6522c97b5d093809aac51cf33214 hg-ssh: parenthesize non-translated message This is fixing for 'missing _() in ui message (use () to hide false-positives)' check-code rule. check-code has overlooked this, because a file isn't recognized as one to be checked (this problem is fixed by subsequent patch). diff --git a/contrib/hg-ssh b/contrib/hg-ssh --- a/contrib/hg-ssh +++ b/contrib/hg-ssh @@ -77,7 +77,7 @@ def main(): sys.exit(255) def rejectpush(ui, **kwargs): - ui.warn("Permission denied\n") + ui.warn(("Permission denied\n")) # mercurial hooks use unix process conventions for hook return values # so a truthy return means failure return True