[PATCH] Ensure HG useses utf-8 encoding

Mike McGrath mmcgrath at redhat.com
Mon Oct 5 13:12:29 UTC 2009


---
 modules/transifex/files/tx-django.wsgi |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/modules/transifex/files/tx-django.wsgi b/modules/transifex/files/tx-django.wsgi
index b54076c..1291f66 100755
--- a/modules/transifex/files/tx-django.wsgi
+++ b/modules/transifex/files/tx-django.wsgi
@@ -14,9 +14,11 @@ setup_environ(settings)
 
 # Setting up the SOCK to use ssh-agent
 os.environ['SSH_AUTH_SOCK']='/var/lib/transifex/ssh-agent-sock-transifex'
-
 os.environ['CVS_RSH']='ssh'
 
+# Ensure HG uses utf-8 encoding
+os.environ['HGENCODING']='utf-8'
+
 # Setting up the home dir
 os.environ['HOME'] = '/var/lib/transifex'
 
-- 
1.6.2.5




More information about the infrastructure mailing list