Romulo A. Ceccon <romuloceccon@yahoo.com.br>


Patch
r869740

r869740 | rocketraman | 2008-03-01 18:48:59 -0600 (Sat, 01 Mar 2008)

Resolve issue with encoding commit log messages as described by
Romulo Ceccon at:

http://article.gmane.org/gmane.comp.version-control.subversion.svnmerge.devel/872

* contrib/client-side/svnmerge.py: Import locale, set locale to user default.
  (recode_stdout_to_file): New method to decode standard output and encode using
    the user's default locale encoding.
  (get_commit_log): Call recode_stdout_to_file to change the encoding of svn
    log output.

* contrib/client-side/svnmerge_test.py
  (testCommitMessageEncoding): New test case to verify the commit log message
    encoding.

Patch by:  Romulo A. Ceccon <romuloceccon@yahoo.com.br>
           me
Review by: Thomas Heller <theller@ctypes.org>