Thomas Heller <theller@ctypes.org>


Found Review
r863379 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>


r863379 | dlr | 2007-01-30 16:31:59 -0600 (Tue, 30 Jan 2007)

Fix svnmerge.py to work for those with non-English locales set in
their environment.

* contrib/client-side/svnmerge.py
  Set LC_ALL -- rather than LC_MESSAGES -- to C, as the Subversion
  command-line doesn't acknowledge LC_MESSAGES in svn_cmdline_init().

Found by: Phillipe Bruhat <book@cpan.org>
          Thomas Heller <theller@ctypes.org>