On 5/18/2012 2:01 PM, Ryan Schmidt wrote:
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.).


trac can do this.
http://trac.edgewall.org/wiki/TracSearch

Reply via email to