Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Integrating Sventon with bugzilla

0 views
Skip to first unread message

Debu

unread,
Dec 18, 2009, 3:24:18 AM12/18/09
to
Hi All,
I am using a subversion repository browser known as "Sventon".Where
the user can browse the repository and see the diff,log e.t.c.
I am using scmbug.so when ever I commit a file against a bugid i get
to see the affected file list in comment section in bugzilla.
There i want to add the Sventon link for that file.ex pom.xml
link should be something like--http://localhost:8082/svn/repos/TAC/
show/branches/aglite/pom.xml.by which developer can see the
diff,log,download

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+--&gt;\s+([0-9]+|
NONE)\s+([^:]+):((.+)/([^/\n]+)?)', '<a href="http://debasism:8082/svn/
repos/TAC/list/$3/$4?rev=$1">$1</a> %]

is there any onter way to achieve this.

Thanks,
Debasis

Thorsten Schöning

unread,
Dec 18, 2009, 6:37:41 AM12/18/09
to support-...@lists.mozilla.org
Guten Tag Debu,
am Freitag, 18. Dezember 2009 um 09:24 schrieben Sie:

> 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+--&gt;\s+([0-9]+|
> NONE)\s+([^:]+):((.+)/([^/\n]+)?)', '<a href="http://debasism:8082/svn/
> repos/TAC/list/$3/$4?rev=$1">$1</a> %]

As already stated on the SCMBug liste:

There's no closing ' for , '<a and the closing ) for the opened
.replace(' is missing, too. You need something like .replace('...',
'...') in the end.

Mit freundlichen Grüßen,

Thorsten Schöning

--
Thorsten Schöning
AM-SoFT IT-Systeme - Hameln | Potsdam | Leipzig

Telefon: Potsdam: 0331-743881-0
E-Mail: tscho...@am-soft.de
Web: http://www.am-soft.de

AM-SoFT GmbH IT-Systeme, Konsumhof 1-5, 14482 Potsdam
Amtsgericht Potsdam HRB 21278 P, Geschäftsführer: Andreas Muchow

0 new messages