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

SV: Idea: tsvn:revlogregex

From: Hans-Emil Skogh <Hans-Emil.Skogh_at_tritech.se>
Date: Tue, 21 Apr 2009 07:54:25 +0200

>> I think since I'm planning to use regex to parse the message, it
>> shouldn't be too difficult to include 'rev. XXX', 'rev XXX' and
>> 'revision XXX' too.

I tried this on yesterdays nightly, and it works beautifully! Great job!
> The following texts were unfortunately not linked:
> "Revisions 1234,5678"
> "Revision(s) 1234,5678"
> "Revisionen 1234,5678", i.e. German translation for "revisions"

I might add:
"revision 713, 772 and 889"
and then the slightly more complex:
"revision range 707-922" ;-)

> Two things that come to my mind:
> 1. Separating multiple revisions with "," or " ," should lead to links.
> 2. It would be good if a tsvn property could set to overwrite the standard
> regexp.
I second that. A solution like (2) would also give the user the flexibility to make the links work as intended no matter what language or other convention used for denoting revisions in plain text in log messages.


To unsubscribe from this discussion, e-mail: [dev-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2009-04-21 07:56:08 CEST

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