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

Re: Idea: tsvn:revlogregex

From: Tobias Schaefer <tobiasschaefer_at_gmx.de>
Date: Mon, 20 Apr 2009 19:27:21 +0200

On Friday 17 April 2009 20:05:13 Stefan Küng wrote:

> 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.
> Of course, only if the match for those revisions doesn't match a bugtraq
> issue, those will have priority.

Stefan, thanks for implementing this in r16209. Linking revisions is really
great - especially the loading of revisions which were initially not shown
in the dialog.

I just tried this with a nightly with a private repository.

The following texts were unfortunately not linked:
"Revisions 1234,5678"
"Revision(s) 1234,5678"
"Revisionen 1234,5678", i.e. German translation for "revisions"

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. Note: Having the translation of "revision" in the language pack
alone would not be enough as I often write german comments without having
the german language pack installed (sorry Lübbe :-) )

Tobias

-- 
       ___
  oo  // \\      "De Chelonian Mobile"
 (_,\/ \_/ \     TortoiseSVN
   \ \_/_\_/>    The coolest Interface to (Sub)Version Control
   /_/   \_\     http://tortoisesvn.net
Received on 2009-04-20 19:27:59 CEST

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.