[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Setting up CVS
From: |
Mark D. Baushke |
Subject: |
Re: Setting up CVS |
Date: |
Mon, 13 Sep 2004 07:31:04 -0700 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Michael Satterwhite <address@hidden> writes:
> I'm trying to setup CVS on a Linux box. I've created the directory for the
> repository, and set CVSROOT. When I try to import a project, I get the
> error:
>
> cvs import: No CVSROOT specified! Please use the `-d' option
> cvs [import aborted]: or set the CVSROOT environment variable.
>
> Immediately after that, I display the environment variable and get the
> following
>
> >echo $CVSROOT
> /backups.save/CVS
>
> Directory CVS *DOES* exist under /backups.save as shown:
>
> > ls -l /backups.save/CVS
> total 0
> drwxr-xr-x 2 michael users 48 2004-09-13 08:37 CVSROOT
>
> What am I doing wrong? It appears that CVS is ignoring the CVSROOT
> environment variable.
If you are using a bourne shell variant
export CVSROOT
if you are using a C shell variant (csh or tcsh)
setenv CVSROOT /backup.save/CVS
just because you have a local variable in your shell does not mean that
the cvs command wil lsee it.
Also, you will want to make sure that the repository is initialized:
cvs -d /backups.save/CVS init
-- Mark
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (FreeBSD)
iD8DBQFBRa8o3x41pRYZE/gRAjPBAKCxaO5BBc1rGTV8bb2oKb1a5f18IQCfeJ+a
WI/IBgYgxJCLiRAhnqDXcj0=
=tw+U
-----END PGP SIGNATURE-----