info-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: CVS/root error (or warning) message


From: Mark Fraser
Subject: Re: CVS/root error (or warning) message
Date: Tue, 19 Feb 2002 15:33:01 -0500

> Mark Fraser writes:
> >
> > I have set up CVS to run locally, all involving windows
> > machines.  The repository is called 'cvsroot' and
> > is being accessed as \\ServerName\cvsroot
>
> If I interpret that correctly, you're running with the repository on a
> Windows share.  That's a very bad idea -- we've had many reports of
> repository corruption when using network file systems.
>

I realize that.  Long term we will be placing it on a Unix server.

> > and then do:
> >
> > cvs co projectname
> >
> > It seems to work but I get the message:
> >
> > --------------------------------------------
> >    cvs checkout: in directory \\ServerName\cvsroot:
> >    cvs checkout: ignoring CVS/Root because it specifies a non-existent =
> > repository \\ServerName\cvsroot
> > ---------------------------------------------
>
> That looks like you're in the \\ServerName\cvsroot directory when you
> issue the command.  ***NEVER*** do CVS commands inside the repository;
> always do them in a completely separate directory.
>

No.  I am executing it from a separate directory (on a different machine
from
where the repository is).

> If that's not the case, then you've got a CVS subdirectory in your
> current directory that contains a bogus Root file.  Either fix it or
> delete the CVS subdirectory entirely (which will remove that directory
> from CVS control).
>

No, I do not have any subdirectory at all under my current directory, let
alone
a CVS directory.  I am executing co from a leaf node in the directory tree.

To reiterate, the error does NOT occur
when I do

cvs -d %CVSROOT% co project

or when I do

cvs -d //(path to repository) co project

but it DOES occur when I do:

cvs co project


Why would one get the error and not the other two cases?

Mark




reply via email to

[Prev in Thread] Current Thread [Next in Thread]