Parent Directory | Revision Log
a bunch of improvements: - moved regex to extract branch from path to config.yml as branch_regex - added filtering by branch (two new models Branch and RevisionBranch for that) - added indexes where needed to speed-up filtering
1 | dpavlin | 26 | use strict; |
2 | use warnings; | ||
3 | |||
4 | package SVNBrowser::Model::RevisionBranch; | ||
5 | use Jifty::DBI::Schema; | ||
6 | |||
7 | use SVNBrowser::Model::Revision; | ||
8 | use SVNBrowser::Model::Branch; | ||
9 | |||
10 | use SVNBrowser::Record schema { | ||
11 | |||
12 | column revision => | ||
13 | is indexed, | ||
14 | refers_to SVNBrowser::Model::Revision by 'revision'; | ||
15 | |||
16 | column branch => | ||
17 | is indexed, | ||
18 | refers_to SVNBrowser::Model::Branch by 'id'; | ||
19 | |||
20 | |||
21 | }; | ||
22 | |||
23 | # Your model-specific methods go here. | ||
24 | |||
25 | 1; | ||
26 |
ViewVC Help | |
Powered by ViewVC 1.1.26 |