incubator-allura-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tvansteenbu...@apache.org
Subject [1/2] git commit: [#6336] Use specific locale instead of system default
Date Wed, 20 Nov 2013 15:52:49 GMT
Updated Branches:
  refs/heads/master cf46c063f -> 16da64b1a


[#6336] Use specific locale instead of system default

Signed-off-by: Tim Van Steenburgh <tvansteenburgh@gmail.com>


Project: http://git-wip-us.apache.org/repos/asf/incubator-allura/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-allura/commit/6a07918a
Tree: http://git-wip-us.apache.org/repos/asf/incubator-allura/tree/6a07918a
Diff: http://git-wip-us.apache.org/repos/asf/incubator-allura/diff/6a07918a

Branch: refs/heads/master
Commit: 6a07918a3fd49c9182118d7e344f232025762f7e
Parents: 1697ad1
Author: Tim Van Steenburgh <tvansteenburgh@gmail.com>
Authored: Wed Nov 20 15:51:57 2013 +0000
Committer: Tim Van Steenburgh <tvansteenburgh@gmail.com>
Committed: Wed Nov 20 15:51:57 2013 +0000

----------------------------------------------------------------------
 ForgeSVN/forgesvn/model/svn.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-allura/blob/6a07918a/ForgeSVN/forgesvn/model/svn.py
----------------------------------------------------------------------
diff --git a/ForgeSVN/forgesvn/model/svn.py b/ForgeSVN/forgesvn/model/svn.py
index 41369a1..9e6eb83 100644
--- a/ForgeSVN/forgesvn/model/svn.py
+++ b/ForgeSVN/forgesvn/model/svn.py
@@ -717,7 +717,7 @@ class SVNImplementation(M.RepositoryImplementation):
         try:
             # need to set system locale to handle all symbols in filename
             import locale
-            locale.setlocale(locale.LC_ALL, '')
+            locale.setlocale(locale.LC_ALL, 'en_US.UTF-8')
             self._svn.export(path,
                              dest,
                              revision=pysvn.Revision(pysvn.opt_revision_kind.number, commit),


Mime
View raw message