changeset 22638 | 0d0350cfc7ab |
parent 22633 | 92b54547ac5d |
child 22643 | 3b1c0e1ede4c |
--- a/mercurial/util.py Sun Sep 28 16:57:47 2014 +0200 +++ b/mercurial/util.py Sun Sep 28 16:57:47 2014 +0200 @@ -13,7 +13,8 @@ hide platform-specific details from the core. """ -from i18n import _ +import i18n +_ = i18n._ import error, osutil, encoding import errno, shutil, sys, tempfile, traceback import re as remod @@ -467,6 +468,8 @@ else: datapath = os.path.dirname(__file__) +i18n.setdatapath(datapath) + _hgexecutable = None def hgexecutable():