changeset 36717 | aeaf9c7f7528 |
parent 34660 | d00ec62d156f |
child 36843 | 5bc7ff103081 |
--- a/mercurial/i18n.py Sun Mar 04 07:03:50 2018 -0500 +++ b/mercurial/i18n.py Sat Mar 03 19:12:47 2018 -0500 @@ -51,7 +51,7 @@ def setdatapath(datapath): datapath = pycompat.fsdecode(datapath) localedir = os.path.join(datapath, pycompat.sysstr('locale')) - t = gettextmod.translation('hg', localedir, _languages, fallback=True) + t = gettextmod.translation(r'hg', localedir, _languages, fallback=True) global _ugettext try: _ugettext = t.ugettext