Ticket #4321 (closed defect: fixed)
Unicode initenv problem
| Reported by: | fred.stober@… | Owned by: | cboos |
|---|---|---|---|
| Priority: | normal | Milestone: | 0.10.4 |
| Component: | version control | Version: | 0.10.2 |
| Severity: | normal | Keywords: | svn unicode |
| Cc: |
Description
Hi!
I've had a big problem with umlauts in my svn repository. I've just converted my cvs repository to svn using cvs2svn and used trac-admin to import the repository using initenv. But something went wrong during the import. I've always got this error trying to access the timeline or using the browser to view directories with files with had an umlaut in their log message:
OperationalError?: Could not decode to UTF-8 column 'message' with text ...
I've had to apply this patch:
/trac/versioncontrol/svn_fs.py 643c635 < message = self._get_prop(core.SVN_PROP_REVISION_LOG) > message = to_unicode(self._get_prop(core.SVN_PROP_REVISION_LOG))
(Usiing Gentoo ebuild www-apps/trac-0.10.1)
And now everything works fine!
Keep up the good work!


