> Error: $cvstreedefault points to a repository not defined in %CVSROOT
> then it tells me to edit cvsweb.conf
Scott,
This is an error message from cvsweb, not CVS. It indicates that cvsweb
is improperly configured. Someone should edit cvsweb.conf (If you don't
know where that is, grep your cvsweb.cgi script for the string '$config
=') and make sure the $cvstreedefault setting is pointing to one of the
entries in the %CVSROOT list. Here's an example from my system:
$ grep '$config =' cvsweb.cgi
$config = $ENV{'CVSWEB_CONFIG'} || '/home/cvsweb/Current/cvsweb.conf';
$ vi cvsweb.conf
...
##############
# CVS Root
##############
# CVSweb can handle several CVS-Repositories
# at once. Enter a short symbolic names and the
# full path of these repositories here.
# NOTE that the symbolic names may not contain
# whitespaces.
# Note, that cvsweb.cgi currently needs to have physical access
# to the CVS repository so :pserver:[EMAIL PROTECTED]:/data/cvsroot
# won't work!
# 'symbolic_name' 'path_to_the_actual_repository'
%CVSROOT = (
'Sputnik7_Main_CVS_Repository' => '/home/cvs/cvsrep',
## 'Sputnik7_Alternate_CVS_Repository' =>
'/home/cvs/cvsrep2',
);
# This tree is enabled by default when
# you enter the page
$cvstreedefault = 'Sputnik7_Main_CVS_Repository';
========= Avi Green :) (: www.sputnik7.com =========
======== Unix S/A & System Specialist ========
======== avi at sputnik7.com 212 217-1147 ========