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

RE: [TSVN] Character encoding issues with log messages to Mantis

From: Lübbe Onken <l.onken_at_rac.de>
Date: 2005-02-04 13:31:38 CET

Hi Johan,

I'm using exactly the same combination as you. I guess that the locale
settings for your svn/apache user are wrong. I'm explicitly exporting the
german locale. We are also using WebSVN to look at the repository. Thats why
I'm passing the WebSVN URL as an additional parameter.

Here's my post-commit hook:
---SNIP---
REPOS="$1"
REV="$2"
NAME=`basename ${REPOS}`
TOOLS=/svn/tools
MAILTO=`cat ${REPOS}/hooks/mailreceivers`

WSVNURL="https://develop.office.rac.de:4433/wsvn/${NAME}/?rev=${REV}"

export LANG="de_DE.utf8"
export LD_LIBRARY_PATH=/usr/local/db4/lib
export PATH=/usr/local/apache2/bin:$PATH

$TOOLS/commit-email.pl -s "SVN: ${NAME}" -h rac.de "${REPOS}" "$REV"
"$MAILTO"
$TOOLS/synchooks.sh "${REPOS}" "${REV}"

# Add an entry to the bugtracker if a Bug ID exists
CheckinBT="/usr/local/apache2/htdocs/bugtracker/core/RA-Checkin.php"
svnlook log -r ${REV} ${REPOS} | iconv -fUTF-8 -tiso-8859-1 | php -f
$CheckinBT $WSVNURL

WebSVN=/svn/htdocs/WebSVN/cache
cachefiles=${REPOS//\//_}
rm $WebSVN/$cachefiles*
---SNIP---

Chers
-Lübbe

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Fri Feb 4 13:33:03 2005

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

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