Edgewall Software
Modify

Opened 18 years ago

Closed 18 years ago

Last modified 18 years ago

#5249 closed enhancement (worksforme)

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

Reported by: dan@… 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)

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

Download all attachments as: .zip

Change History (3)

by dan@…, 18 years ago

Attachment: browser.diff added

proposed patch for ticket #5249

comment:1 by Christian Boos, 18 years ago

Keywords: scoped repository added; browser removed
Milestone: 0.10.5
Resolution: worksforme
Status: newclosed

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

comment:2 by dan@…, 18 years ago

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

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Christian Boos.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Christian Boos to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.