Mercurial > hg
comparison mercurial/crecord.py @ 29697:00269c6e4f6e
py3: use unicode literals in crecord.py
author | Pulkit Goyal <7895pulkit@gmail.com> |
---|---|
date | Thu, 04 Aug 2016 00:21:14 +0530 |
parents | baab9ea4426c |
children | bff109e6398a |
comparison
equal
deleted
inserted
replaced
29696:2f64e5a6efb8 | 29697:00269c6e4f6e |
---|---|
26 ) | 26 ) |
27 stringio = util.stringio | 27 stringio = util.stringio |
28 | 28 |
29 # This is required for ncurses to display non-ASCII characters in default user | 29 # This is required for ncurses to display non-ASCII characters in default user |
30 # locale encoding correctly. --immerrr | 30 # locale encoding correctly. --immerrr |
31 locale.setlocale(locale.LC_ALL, '') | 31 locale.setlocale(locale.LC_ALL, u'') |
32 | 32 |
33 # patch comments based on the git one | 33 # patch comments based on the git one |
34 diffhelptext = _("""# To remove '-' lines, make them ' ' lines (context). | 34 diffhelptext = _("""# To remove '-' lines, make them ' ' lines (context). |
35 # To remove '+' lines, delete them. | 35 # To remove '+' lines, delete them. |
36 # Lines starting with # will be removed from the patch. | 36 # Lines starting with # will be removed from the patch. |