You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@allura.apache.org by tv...@apache.org on 2013/01/21 22:53:16 UTC
[1/16] git commit: [#4953] Handle non-utf-8 encoded commit msgs
[#4953] Handle non-utf-8 encoded commit msgs
Project: http://git-wip-us.apache.org/repos/asf/incubator-allura/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-allura/commit/e5ec62b3
Tree: http://git-wip-us.apache.org/repos/asf/incubator-allura/tree/e5ec62b3
Diff: http://git-wip-us.apache.org/repos/asf/incubator-allura/diff/e5ec62b3
Branch: refs/heads/tv/5336
Commit: e5ec62b3e6ab9223c10eb07e53fd2c0dedb47b2a
Parents: a236314
Author: Tim Van Steenburgh <tv...@gmail.com>
Authored: Thu Jan 17 16:16:12 2013 +0000
Committer: Tim Van Steenburgh <tv...@gmail.com>
Committed: Thu Jan 17 16:16:12 2013 +0000
----------------------------------------------------------------------
ForgeSVN/forgesvn/model/svn.py | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-allura/blob/e5ec62b3/ForgeSVN/forgesvn/model/svn.py
----------------------------------------------------------------------
diff --git a/ForgeSVN/forgesvn/model/svn.py b/ForgeSVN/forgesvn/model/svn.py
index 13f30a6..4228b50 100644
--- a/ForgeSVN/forgesvn/model/svn.py
+++ b/ForgeSVN/forgesvn/model/svn.py
@@ -299,14 +299,14 @@ class SVNImplementation(M.RepositoryImplementation):
if hasattr(log_entry, 'date'):
log_date = datetime.utcfromtimestamp(log_entry.date)
user = Object(
- name=log_entry.get('author', '--none--'),
+ name=h.really_unicode(log_entry.get('author', '--none--')),
email='',
date=log_date)
args = dict(
tree_id=None,
committed=user,
authored=user,
- message=log_entry.get("message", "--none--"),
+ message=h.really_unicode(log_entry.get("message", "--none--")),
parent_ids=[],
child_ids=[])
if revno > 1: