[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: Fri, 17 Apr 2009 08:36:34 +0200

>> I'm, as I'm sure many of you are, quite often referring to other
>> revisions in my commit messages.
>> How about adding a new property to be able to define a regular
>> expression to enable TSVN to recognize these references and create links
>> from them.
> You'd might be surprised, but I'm currently working on this (still in
> the early stages though).
 
:-)
 
> But I don't think we need another regex property for this: I thought
> of simply parsing for 'rXXX' should be enough.

For us that wouldn't be enough... We have a mix of references like: "rev. 1234" and "revision 1234" (including alternate casing), but I don't think any "r1234"...

> Of course, a revision would only be turned into a link if the revision
> is already shown in the log dialog - otherwise revisions which relate to
> other projects would confuse the whole logic (e.g., a TSVN commit
> references a revision of the svn project or another external).

Hmm... I guess you are right. We are not making heavy use of externals, so confusing with other projects would probably not be a problem at this point in time, but who knows about the future. A possible future improvement (to the future improvement :-) ) could be yet another property that could toggle the link creation for revisions not in the current log dialog.
The reason that I'm keen on having working links to revisions not shown in the current log dialog view is that we are using branches, and sometimes links to revisions present on other branches (but in the same repository) makes very much sense.
 
Hans-Emil

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

To unsubscribe from this discussion, e-mail: [dev-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2009-04-17 08:47:35 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.