#5249 closed enhancement (worksforme)
[PATCH] Allow user to specify project's version control root
| Reported by: | Owned by: | Christian Boos | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | version control/browser | Version: | 0.10-stable |
| Severity: | normal | Keywords: | scoped repository |
| Cc: | Branch: | ||
| Release Notes: | |||
| API Changes: | |||
| Internal Changes: | |||
Description
I'd like multiple Trac installations to use the same subversion repository so I added a trac.ini option to get Trac to treat the path as the root. So if the subversion repo has /project1/trunk and /project2/trunk, adding project_root = /project1 in the [browser] section will get trac to only show files under the /project1 folder in the repo.
Attachments (1)
Change History (3)
by , 19 years ago
| Attachment: | browser.diff added |
|---|
comment:1 by , 19 years ago
| Keywords: | scoped repository added; browser removed |
|---|---|
| Milestone: | 0.10.5 |
| Resolution: | → worksforme |
| Status: | new → closed |
See TracEnvironment#SourceCodeRepository, you can already achieve this by using [trac] repository_dir = /path/to/repository/project1.
comment:2 by , 19 years ago
Thanks. I tried that but it wasn't working even after resyncing. It worked once I restarted the tracd server.



proposed patch for ticket #5249