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

RE: [TSVN] Integrating TSVN with Mantis Bugtracker

From: <johan.stenqvist_at_skandia.se>
Date: 2004-10-18 10:48:09 CEST

Hi Lübbe,

> -----Original Message-----
> From: Lübbe Onken [mailto:l.onken@rac.de]
>
> > I've managed to get the committed logmessage to show up
> > as an issue note on the related issue, using the bugtraq:*
> > properties for TSVN.
> It looks like you are far ahead of me. I didn't even get
> around to writing a
> post-commit hook. Would you mind sending me your script? (/me
> shamelessly
> grabbing other people's work)

Here's my batchfile - I hope you can find some use for it:
----------------------------------------------------------
@echo off

if "%1"=="" goto usage
if "%2"=="" goto usage

svnlook log "%1" -r %2 | php -f d:\www\mantis\core\checkin.php

goto theend

:usage
echo Usage: add_issue_note PATH_TO_REPOSITORY REVISION
goto theend

:theend
----------------------------------------------------------

> > My problem is that special swedish characters (aao) doesn't
> > show up right in the issue note - I guess this goes for
> > all "international" characters as well.
> I had this problem with the WebSVN php interface.
>
> > Does anyone have
> > any ideas for how to convert/specify the characterset used
> > with svnlook or at the receiving end, in php?
> I know that svnlook has a bug that prevents these characters
> from being
> displayed correctly. This was fixed in r11172. I grabbed the current
> svnlook/main.c from the subversion repository and recompiled
> svnlook. After
> re-installing svnlook, everything was fixed for me.

May I in return be so bold as to ask you for a copy of your
"special needs" svnlook? If you email me the file directly, please
send to johan@stenqvist.se, since our mailserver at work kills
all executables in attachments...:-(

> So you just avoided being flamed ;-)

Right! :-)

Regards,
Johan

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Mon Oct 18 11:49:09 2004

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.