Edgewall Software

Ticket #5786 (closed defect: invalid)

Opened 16 months ago

Last modified 16 months ago

Problem with svn repository

Reported by: aamena.bhurawala@… Owned by: jonas
Priority: normal Milestone:
Component: version control Version:
Severity: normal Keywords: tobedeleted
Cc:

Description (last modified by eblot) (diff)

I am facing problem with integration of svn with Trac.It is not working,i have made appropriate changes in Trac.ini which is as follows

[components]

trac.versioncontrol.api.repositorymanager = enabled
trac.versioncontrol.svn_authz.svnauthzoptions = enabled
trac.versioncontrol.svn_fs.subversionconnector = enabled
trac.versioncontrol.web_ui.browser.browsermodule = enabled

But its not working and giving error..

''''''Python Traceback''''''Traceback (most recent call last):
  File "C:\Python25\Lib\site-packages\trac\web\main.py", line 406, in dispatch_request
    dispatcher.dispatch(req)
  File "C:\Python25\Lib\site-packages\trac\web\main.py", line 191, in dispatch
    chosen_handler = self._pre_process_request(req, chosen_handler)
  File "C:\Python25\Lib\site-packages\trac\web\main.py", line 263, in _pre_process_request
    chosen_handler = f.pre_process_request(req, chosen_handler)
  File "C:\Python25\Lib\site-packages\trac\versioncontrol\api.py", line 73, in pre_process_request
    self.get_repository(req.authname).sync()
  File "C:\Python25\Lib\site-packages\trac\versioncontrol\api.py", line 104, in get_repository
    repos = self._connector.get_repository(rtype, rdir, authname)
  File "C:\Python25\Lib\site-packages\trac\versioncontrol\svn_fs.py", line 234, in get_repository
    repos = SubversionRepository(dir, None, self.log)
  File "C:\Python25\Lib\site-packages\trac\versioncontrol\svn_fs.py", line 265, in __init__
    % path)
TracError: . does not appear to be a Subversion repository.

I have installed svn on my local machine but it is not working..so please help me how to make it work.

Attachments

Change History

Changed 16 months ago by aamena.bhurawala@…

In your last mail you have suggested to refer Faq but in that it is just saying for check of installation of svn but i have installed it on my PC.

Changed 16 months ago by anonymous

  • keywords delete added
  • status changed from new to closed
  • resolution set to invalid

what about . is not a svn repository?

. = current directory where you start it ... and in trac ini you could try to set a svn repository.

or, if svn is not working, try to change to mercurial: http://selenic.com/mercurial.

Changed 16 months ago by eblot

  • keywords tobedeleted added; delete removed
  • priority changed from highest to normal
  • component changed from general to version control
  • description modified (diff)
  1. The path you specified for the SVN repository is invalid (".", at least it should be an absolute path)
  2. This is an installation issue, and should therefore be reported to the MailingList for support, not log in as a ticket (see the big red box in the New Ticket page)

BTW, the changes you've made to the [components] section are useless

Add/Change #5786 (Problem with svn repository)

Author



Change Properties
<Author field>
Action
as closed
Next status will be 'reopened'
to The owner will change from jonas. Next status will be 'closed'
 
Note: See TracTickets for help on using tickets.