[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Coexistence problem between latest stable versions of Subversion and TortoiseSVN regarding iconv modules

From: Gerhard Grimm <ggrimm_at_detec.de>
Date: 2004-09-28 15:00:10 CEST

Hello all,

unfortunately I have to revoke the workaround tip I gave in this posting
http://subversion.tigris.org/servlets/ReadMsg?list=users&msgNo=18478
yesterday: When running the command "svn log -v -r <from>:<to> <URL>"
on a machine with TortoiseSVN installed, svn.exe may crash just before
exiting during its internal cleanup, if any iconv module supplied with
TSVN has been loaded. I encountered this problem with Subversion 1.0.6
and 1.0.8 along with TortoiseSVN 1.0.7 and 1.0.8. The problem does not
occur with Subversion 1.0.5 and TSVN 1.0.4, however.
What enforces this problem is the fact that, since TortoiseSVN runs
within the Windows Explorer, it sets the Explorer process' APR_ICONV_PATH
environment variable to the "TortoiseSVN\iconv" directory, thus overriding
the value set in the Windows Control Panel ("Subversion\iconv"). All user
processes are children of the Explorer process and will thus inherit the
modified value of APR_ICONV_PATH. The only way to run svn.exe with the
correct APR_ICONV_PATH setting would be to set the variable manually
in the cmd.exe console before running svn.exe or to use a batch file.
As possible solutions, the following comes to my mind:
a) The two development teams agree on a common way to build the iconv
modules, thus ensuring binary compatibility.
b) One or both of the teams change the name of the APR_ICONV_PATH
environment variable employed by their APR iconv library (e.g.
SVN_ICONV_PATH or TORTOISE_ICONV_PATH), which would require
a patch to the APR sources.

Best regards,

Gerhard

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Sep 28 20:52:57 2004

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.