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

Re: Reasearch on comment

From: Ryan Schmidt <subversion-2012a_at_ryandesign.com>
Date: Fri, 18 May 2012 15:01:51 -0500

On May 18, 2012, at 04:12, Romain Smordowski wrote:

> After reasearch on the Internet, I did not find any way to find a project revision dipending on the comment.
> It seems that this functionnality is not yet present in subversion (I did not find an other place to ask for that).

This is a good place to ask the question.

You're right, Subversion doesn't have a search feature. There are third-party products you can use for that. You could even build one. They work by indexing your commits as they happen, using a post-commit hook. FishEye is a commenrial product I've heard of that I think does what you want (though I've never used it), but I'm sure there are others, possibly even open source or at least free ones.

http://www.atlassian.com/software/fisheye/overview

> What I would like is to be able to look in a whole project the commits with a particular comment (may be with reguar expression). At work we often use specific comment (such as support issue number) so looking to the modifications that were done to answer a tocket would save a lot of time.

This specific feature is usually implemented the other way around: in a post-commit hook, you parse the commit message for the ticket number. If found, you insert a comment into the ticket (hopefully your issue tracker has an API to do that) linking back to this revision (in a web-based Subversion revision viewer, which you'll probably also want a separate piece of software for, such as WebSVN, Trac, ViewVC, etc.).
Received on 2012-05-18 22:02:28 CEST

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

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