Opened 13 years ago

Closed 12 years ago

Last modified 12 years ago

#835 closed enhancement (fixed)

Trac could detect SVN revisions and add a link for them

Reported by: axeld Owned by: wkornewald
Priority: normal Milestone: Website R2 (Drupal 5)
Component: Website/Trac Version:
Keywords: Cc:
Blocked By: Blocking:
Has a Patch: no Platform: All

Description

When finding text like hrev18677 Trac could detect this and make it a link to the repository, in this case to: http://svn.berlios.de/viewcvs/haiku?rev=18677&view=rev

It already does this for #bug numbers, so why not for revisions? Would be a really helpful addition.

Change History (6)

comment:1 Changed 13 years ago by wkornewald

Milestone: Website R1.5

Might not be very difficult to implement. I think something like that is already part of Trac. We'd just have to modify it.

comment:2 Changed 12 years ago by wkornewald

Resolution: fixed
Status: newclosed

Should work, now. Is that good enough?

comment:3 Changed 12 years ago by axeld

Yes, perfect, thanks! :-) BTW can this be made more "intelligent" in general? Like if someone writes "bla bla comment #3" that this doesn't link to the bug number 3?

comment:4 in reply to:  3 Changed 12 years ago by wkornewald

It would be complicated to find a perfect solution. It would be better if you used TracLinks for this. For example, instead of comment #3 you should write comment:3. If you're talking about comment 3 of ticket #512 you can also use comment:ticket:512:3.

comment:5 Changed 12 years ago by axeld

Ah nice, didn't know about that 8-) Yes, I think that's okay for now - we should just communicate this better, so that people start to use it, especially as long as we can't edit comments... Unfortunately, comments only seem to be numbered when you hit reply; it may hard to know which comment is comment:4 for example.

comment:6 Changed 12 years ago by wkornewald

You can move the mouse over the "Reply" button and watch the tool-tip. I'll write a mail describing the most important link techniques.

Note: See TracTickets for help on using tickets.