/[SVNBrowser]/trunk/lib/SVNBrowser/Model/RevisionBranch.pm
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Annotation of /trunk/lib/SVNBrowser/Model/RevisionBranch.pm

Parent Directory Parent Directory | Revision Log Revision Log


Revision 26 - (hide annotations)
Sun Dec 10 00:01:33 2006 UTC (17 years, 5 months ago) by dpavlin
File size: 414 byte(s)
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