##// END OF EJS Templates
hgmanpage: stop using raw-unicode strings...
Augie Fackler -
r30057:a8ba9a23 default
parent child Browse files
Show More
@@ -288,10 +288,10 b' class Translator(nodes.NodeVisitor):'
288 text = node.astext()
288 text = node.astext()
289 text = text.replace('\\','\\e')
289 text = text.replace('\\','\\e')
290 replace_pairs = [
290 replace_pairs = [
291 (u'-', ur'\-'),
291 (u'-', u'\\-'),
292 (u'\'', ur'\(aq'),
292 (u"'", u'\\(aq'),
293 (u'´', ur'\''),
293 (u'´', u"\\'"),
294 (u'`', ur'\(ga'),
294 (u'`', u'\\(ga'),
295 ]
295 ]
296 for (in_char, out_markup) in replace_pairs:
296 for (in_char, out_markup) in replace_pairs:
297 text = text.replace(in_char, out_markup)
297 text = text.replace(in_char, out_markup)
@@ -16,7 +16,6 b''
16 $ hg files 'set:(**.py) - grep(pygments)' | sed 's|\\|/|g' \
16 $ hg files 'set:(**.py) - grep(pygments)' | sed 's|\\|/|g' \
17 > | xargs $PYTHON3 contrib/check-py3-compat.py \
17 > | xargs $PYTHON3 contrib/check-py3-compat.py \
18 > | sed 's/[0-9][0-9]*)$/*)/'
18 > | sed 's/[0-9][0-9]*)$/*)/'
19 doc/hgmanpage.py: invalid syntax: invalid syntax (<unknown>, line *)
20 hgext/acl.py: error importing: <TypeError> Can't mix strings and bytes in path components (error at i18n.py:*)
19 hgext/acl.py: error importing: <TypeError> Can't mix strings and bytes in path components (error at i18n.py:*)
21 hgext/automv.py: error importing: <TypeError> Can't mix strings and bytes in path components (error at i18n.py:*)
20 hgext/automv.py: error importing: <TypeError> Can't mix strings and bytes in path components (error at i18n.py:*)
22 hgext/blackbox.py: error importing: <TypeError> Can't mix strings and bytes in path components (error at i18n.py:*)
21 hgext/blackbox.py: error importing: <TypeError> Can't mix strings and bytes in path components (error at i18n.py:*)
General Comments 0
You need to be logged in to leave comments. Login now