Opened 18 years ago

Closed 17 years ago

Last modified 17 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:
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 by wkornewald, 18 years ago

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 by wkornewald, 17 years ago

Resolution: fixed
Status: newclosed

Should work, now. Is that good enough?

comment:3 by axeld, 17 years ago

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?

in reply to:  3 comment:4 by wkornewald, 17 years ago

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 by axeld, 17 years ago

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 by wkornewald, 17 years ago

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.