File mercurial-locale-path-fix.patch of Package mercurial

Index: mercurial-4.1/mercurial/i18n.py
===================================================================
--- mercurial-4.1.orig/mercurial/i18n.py
+++ mercurial-4.1/mercurial/i18n.py
@@ -50,7 +50,7 @@ _ugettext = None
 
 def setdatapath(datapath):
     datapath = pycompat.fsdecode(datapath)
-    localedir = os.path.join(datapath, r'locale')
+    localedir = '/usr/share/locale'
     t = gettextmod.translation(r'hg', localedir, _languages, fallback=True)
     global _ugettext
     try: