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

Commit Dialog Regex Parsing

From: ibril15 <ibril15_at_gmail.com>
Date: Tue, 20 Jan 2009 07:23:58 -0800 (PST)

Hello,

I'm running Windows Server 2003 SE with TortoiseSVN with the following
version information:

TortoiseSVN 1.5.6, Build 14908 - 32 Bit , 2008/12/20 11:51:04
Subversion 1.5.5,
apr 1.2.12
apr-utils 1.2.12
berkeley db 4.4.20
neon 0.28.3
OpenSSL 0.9.8i 15 Sep 2008
zlib 1.2.3

I have added to a local folder a "bugtraq:logregex" property with
value being the example given in Section "5.27.1.2. Issue Numbers
Using Regular Expressions" of the TSVN help, namely:

[Ii]ssues?:?(\s*(,|and)?\s*#\d+)+
(\d+)

I open up the commit dialog for this folder and type the following
text:

This change resolves issues #23, #24 and #25, test, test, test
testesttestest

The problem is that the bold highlighted text starts at "issues" and
stops at "testes" (the first half of the last word). Also, the italic
underlined portions become "23", ", " (the comma and space between 25
and test), and "es" (the 5th instance of es, the last two bold
letters).

When I view the log for a folder that has a similar regex, the issue
column seems to correctly parse out the issue numbers, so it seems to
be a problem with just the commit dialog.

This issue seems very similar to one reported in a post called "A
couple display issues" by Josha Foust on Jul 25 2008. The response
from Stefan Küng in the discussion says "Fixed in r13552, backported
to 1.5.x in r13553".

So am I misunderstanding the logregex property? Do I need to get a
specific build to get this fix? Am I missing something else?

Thanks a lot in advance.

-Igor

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=1038117

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2009-01-20 16:25:11 CET

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

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