Hi Thorsten Schöning, Now I am able to link to Sventon.Thanks a lot. Thanks, Debasis
On Sat, Dec 19, 2009 at 1:29 PM, Debasis Mishra <[email protected]>wrote: > Hi Thorsten Schöning, > Please find the "comments.html.tmpl" file <pre> node section > <pre class="bz_comment_text" > [% ' id="comment_text_' _ count _ '"' IF mode == "edit" %]> > [%- wrapped_comment FILTER quoteUrls(bug.bug_id, > comment.already_wrapped) -%] > > [%- text > =text.replace('([0-9]+|NONE)\s+-->\s+([0-9]+|NONE)\s+([^:]+):((.+)/([^/\n]+)?)', > '<a href="http://debasism:8082/svn/repos/TAC/list/$3/$4?rev=$1">$1</a>') > -%] > </pre> > > I am not getting any error as well as i am not able to see any change in > the comment section.meaing no link.only text string of the affected files. > > I am also not getting what $3 and $4 stands for. > suppose my affected file is *5565 --> 5615 agLite > Platform:branches/aglite/admin/pom.xml* > > how this url*-http://debasism:8082/svn/repos/TAC/list/$3/$4?rev=$1" *will > help me.* > *after parsing will it be converted to this*- > http://debasism:8082/svn/repos/TAC/list/branches/aglite/admin/pom.xml**. > *which i want.* > * > Thanks, > Debasis > > > > On Fri, Dec 18, 2009 at 12:40 PM, Debasis Mishra <[email protected]>wrote: > >> Hi Thorsten Schöning, >> I was trying to implement your post.i modified the >> "comments.html.tmpl".i added the line given below >> >> * [%- text = >> text.replace('([0-9]+|NONE)\s+-->\s+([0-9]+|NONE)\s+([^:]+):((.+)/([^/\n]+)?)', >> '<a href="http://debasism:8082/svn/repos/TAC/list/$3/$4?rev=$1">$1</a> >> -%] >> >> *Then in the bugzilla* *i* *encountered with the following error.* >> >> file error - parse error - bug/comments.html.tmpl line 225: unexpected >> token ('<a) [% text = >> text.replace('([0-9]+|NONE)\s+-->\s+([0-9]+|NONE)\s+([^:]+):((.+)/([^/\n]+)?)', >> '<a href="http://debasism:8082/svn/repos/TAC/list/$3/$4?rev=$1">$1</a> %] >> >> >> *Thanks, >> Debasis* >> >> * >> > >
_______________________________________________ scmbug-users mailing list [email protected] http://lists.mkgnu.net/cgi-bin/mailman/listinfo/scmbug-users
