--- trunk/lib/SVNBrowser/Indexer.pm 2008/01/31 16:54:59 70 +++ trunk/lib/SVNBrowser/Indexer.pm 2008/01/31 17:02:03 71 @@ -53,7 +53,8 @@ my $action = $paths->{$path}->{action} || die "no action in ", dump($path); my $branch = '/'; - ($branch,$path) = ($1,$2) if ($path =~ m/$repository->branch_regex/); + my $regex = $repository->branch_regex || die "no branch_regex?"; + ($branch,$path) = ($1,$2) if ($path =~ m/$regex/); my $b = SVNBrowser::Model::Branch->new; $b->load_or_create(