Ticket #1398 (closed defect: duplicate)
Opened 7 years ago
Last modified 5 years ago
Add support for multiple projects in the same SVN repository
| Reported by: | tomek@… | Owned by: | daniel |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | project | Version: | 0.8.1 |
| Severity: | normal | Keywords: | |
| Cc: | |||
| Release Notes: | |||
| API Changes: | |||
Description
At the moment it appears that Trac uses one SVN repository per project. There is no way that I can find to specify that Trac should only look at a certain subdirectory of the SVN repository. I have many projects in one SVN repository. The Timeline in particular becomes not very useful when I see every change for every project.
I should be able to specify full SVN URL for every Trac Environment and all operations should be limited to that path (eg Timeline, Browse Source).
Attachments
Change History
comment:1 Changed 7 years ago by mgood
- Resolution set to duplicate
- Status changed from new to closed
comment:2 Changed 7 years ago by tomek@…
Thanks for the tip on splitting a repository. I really don't want to do this though. It seems like a very ugly workaround. I think I'll wait until Trac has proper support for specifying repository paths. Hopefully it won't be too long :-)
comment:3 Changed 7 years ago by mgood
Based on cmlenz's comments on #586, this currently works in the development version, and should be available in the next release:
As a matter of fact, we already have some support for repository subsets as of [1413]. I.e., instead of having to specify the base path of the repository in TracIni, you can specify a path inside the repos (for example /var/svn/myrepos/project/subproejct, where /var/svn/myrepos is the path to the repository).



This is a duplicate of #586
However, if you are interested, the online Subversion book discusses splitting an svn repository.