Cooke, Mark
Fri, 12 Mar 2010 02:53:57 -0800
Hi Mathieu, > I am not sure I understand the documentation on how to setup a > single trac system with multiple SVN server. I have been reading: > http://trac.edgewall.org/wiki/TracMultipleProjects > > In particular: http://trac.edgewall.org/wiki/TracModPython > > since I use mod_python. But I was not able to find the documentation > explaining what to define during the trac-admin initenv step. In > particular what to answer for the svn repository. > FYI: mod_python or mod_wsgi is not directly relevant to this problem.
> ... > Please specify the absolute path to the version control > repository, or leave it blank to use Trac without a repository. > You can also set the repository location later. > > Path to repository [/path/to/repos]> > ... > In what way is this not clear? What are you trying to achieve? Each trac environment (currently) links to only one repository and that should be on the same machine as the trac environment (and accessible to the apache user too). Different trac environments usually link to different repos but they all need to be local file paths, you cannot use a network path (e.g. http:// of svn:// style path)... The 'path to repository' is the file path to the repo directory (which will have 'conf', 'db', hooks', 'locks' etc for fsfs). What this is depends on your local setup and platform, *nix will be a path from root whilst windoze needs the drive & path (e.g. d:\svn\repo_name). If you leave it blank, you can edit the [trac] section of your repo-dir/conf/trac.ini to add the path in: [trac] repository_dir = d:\svn\repo_name ...after saving this you would need to run (for svn repos): > trac-admin <path-to-env> resync ...and possibly restart your trac server (not sure but it shouldn't do any harm). ~ 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-us...@googlegroups.com. To unsubscribe from this group, send email to trac-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/trac-users?hl=en.