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

diff -u a/mercurial/i18n.py b/mercurial/i18n.py
--- a/mercurial/i18n.py	2011-07-01 20:54:23.000000000 +0200
+++ b/mercurial/i18n.py	2011-07-11 15:23:29.920882539 +0200
@@ -16,7 +16,7 @@
 
 base = os.path.dirname(module)
 for dir in ('.', '..'):
-    localedir = os.path.join(base, dir, 'locale')
+    localedir = '/usr/share/locale'
     if os.path.isdir(localedir):
         break