Qitong Hu | 13 Jun 2012 01:24

[Trac] Trac integrate SVN error

Hi all,
I'm a newbie to Trac.
I tried to use Trac with an existing svn on ubuntu. I install the Trac successfully and follow http://trac.edgewall.org/wiki/0.12/TracRepositoryAdmin to configure my SVN to Trac.
I added:
1. trac-admin $ENV changeset added $REPO $REV to /hooks/post-commit.tmpl ,  and:
  trac-admin $ENV changeset modified $REPO $REV to/hooks/post-revprop-change.tmpl. 

2.
[repositories]
project.dir = /home/svn/deployment
project.description = This is the ''main'' project repository.
project.type = svn
project.url = http://<our address>

3. change repository_sync_per_request = to nothing instead of "(default)" (And I also tried leave it with default)

After I restart the apache, there is an error in "Browser Source" after I click the "project"

Could anyone helps me figure out what I might have done wrong?
Thanks in advance

--
You received this message because you are subscribed to the Google Groups "Trac Users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/trac-users/-/72UgZ_F0x8cJ.
To post to this group, send email to trac-users-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to trac-users+unsubscribe <at> googlegroups.com.
For more options, visit this group at http://groups.google.com/group/trac-users?hl=en.
Cooke, Mark | 13 Jun 2012 10:27
Picon

RE: [Trac] Trac integrate SVN error

> -----Original Message-----
> From: trac-users@... 
> [mailto:trac-users@...] On Behalf Of Qitong Hu
> Sent: 13 June 2012 00:24
> To: trac-users@...
> Subject: [Trac] Trac integrate SVN error
> 
> Hi all,
> I'm a newbie to Trac. 
> I tried to use Trac with an existing svn on ubuntu. I install 
> the Trac successfully and follow 
> http://trac.edgewall.org/wiki/0.12/TracRepositoryAdmin to 
> configure my SVN to Trac.
> I added: 
> 1. trac-admin $ENV changeset added $REPO $REV to 
> /hooks/post-commit.tmpl ,  and:
>   trac-admin $ENV changeset modified $REPO $REV 
> to/hooks/post-revprop-change.tmpl.  

Note: if you want these to work, you need to remove the `.tmpl` extension (those are unused, template files)
and (seeing as it is *nix) you probably need to make the file executable (I'm not strong on *nix permissions).

> 2.
> [repositories]
> project.dir = /home/svn/deployment
> project.description = This is the ''main'' project repository.
> project.type = svn
> project.url = http://<our address>
> 
> 3. change repository_sync_per_request = to nothing instead of 
> "(default)" (And I also tried leave it with default)
> 
> After I restart the apache, there is an error in "Browser 
> Source" after I click the "project"
> 
> Could anyone helps me figure out what I might have done wrong?
> Thanks in advance

It sounds like you do not have the python svn library, this does not come with Trac.  Can you give the whole
error information, that will help to confirm.

~ mark c

--

-- 
You received this message because you are subscribed to the Google Groups "Trac Users" group.
To post to this group, send email to trac-users@...
To unsubscribe from this group, send email to trac-users+unsubscribe@...
For more options, visit this group at http://groups.google.com/group/trac-users?hl=en.


Gmane