Patchwork [2,of,6] largefiles: fix help text to avoid warning at "make update-pot"

login
register
mail settings
Submitter Katsunori FUJIWARA
Date Aug. 15, 2017, 4:19 p.m.
Message ID <abd0f3801a00bf7d3e5a.1502813942@speaknoevil>
Download mbox | patch
Permalink /patch/23021/
State Accepted
Headers show

Comments

Katsunori FUJIWARA - Aug. 15, 2017, 4:19 p.m.
# HG changeset patch
# User FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
# Date 1501604107 -32400
#      Wed Aug 02 01:15:07 2017 +0900
# Node ID abd0f3801a00bf7d3e5a74de796ec68d97d3e9dd
# Parent  17bdacaa47c5b08ebe4e5b8e140b9c0f6d4bf129
# Available At https://bitbucket.org/foozy/mercurial-wip
#              hg pull https://bitbucket.org/foozy/mercurial-wip -r abd0f3801a00
# EXP-Topic i18n-fix-update-pot-issues
largefiles: fix help text to avoid warning at "make update-pot"

This change helps hggettext to find out help text in original source,
because it assumes that backslash ('\') is doubled in docstring.

Patch

diff --git a/hgext/largefiles/__init__.py b/hgext/largefiles/__init__.py
--- a/hgext/largefiles/__init__.py
+++ b/hgext/largefiles/__init__.py
@@ -91,7 +91,7 @@  tracked as largefiles::
   [largefiles]
   patterns =
     *.jpg
-    re:.*\.(png|bmp)$
+    re:.*\\.(png|bmp)$
     library.zip
     content/audio/*