Edgewall Software

Ticket #5249 (closed enhancement: worksforme)

Opened 19 months ago

Last modified 19 months ago

[PATCH] Allow user to specify project's version control root

Reported by: dan@… Owned by: cboos
Priority: normal Milestone:
Component: version control/browser Version: 0.10-stable
Severity: normal Keywords: scoped repository
Cc:

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

browser.diff (1.9 KB) - added by dan@… 19 months ago.
proposed patch for ticket #5249

Change History

Changed 19 months ago by dan@…

proposed patch for ticket #5249

Changed 19 months ago by cboos

  • keywords scoped repository added; browser removed
  • status changed from new to closed
  • resolution set to worksforme
  • milestone 0.10.5 deleted

See TracEnvironment#SourceCodeRepository, you can already achieve this by using [trac] repository_dir = /path/to/repository/project1.

Changed 19 months ago by dan@…

Thanks. I tried that but it wasn't working even after resyncing. It worked once I restarted the tracd server.

Add/Change #5249 ([PATCH] Allow user to specify project's version control root)

Author



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