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: Wed, 20 Feb 2002 17:19:12 -0500

Larry,


> Mark Fraser writes:
> >
> > 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?
>
> Because the complaint is about a bogus CVSROOT in CVS/Root and -d on the
> command line overrides CVS/Root.

That would explain it if there were ANY difference between what is in
CVS/Root and the CVSROOT environment variable.  In fact there is not. So
I am overriding CVS/Root with a variable that has the same value as
what is in CVS/Root (as the error message indicates).


> As far as I know, the *only* way to
> get that error is to have a bogus CVS/Root file -- I suggest you check
> again carefully.

Again, there is no CVS/Root file at all when I run the command.  True, there
is one (presumably) when this error is generated, which (presumably) is
because
cvs is creating the CVS subdirectory and the Root file before it
tries to do the checkout.  I know the cvs program is creating it
because it is not there when I execute the command.  As I indicated
in my previous post, I am executing the command where the
project directory does not yet exist.

>  If you're certain you don't have a CVS/Root file, try
> running with tracing turned on (the global -t option) and post the
> result.
>

ok:

----------------------------------------------------------------------------
---

C:\>set CVSROOT=//Zeus/cvsroot

C:\>cvs -t co cvstest
-> main loop with CVSROOT=//Zeus/cvsroot
-> Create_Admin (., cvstest, //Zeus/cvsroot/cvstest, , , 0, 0)
-> unlink(./CVS/Tag)
-> fopen(//Zeus/cvsroot/CVSROOT/history,a)
cvs checkout: in directory cvstest:
cvs checkout: ignoring CVS/Root because it specifies a non-existent
repository /
/Zeus/cvsroot
cvs checkout: in directory cvstest:
cvs checkout: ignoring CVS/Root because it specifies a non-existent
repository /
/Zeus/cvsroot
-> unlink(./CVS/Entries.Static)
cvs checkout: Updating cvstest
cvs checkout: in directory cvstest:
cvs checkout: ignoring CVS/Root because it specifies a non-existent
repository /
/Zeus/cvsroot
-> unlink_file_dir(CVS/,,file1.txt)
-> checkout (//Zeus/cvsroot/cvstest/file1.txt,v, 1.1.1.1, , file1.txt)
-> chmod(file1.txt,100666)
-> Register(file1.txt, 1.1.1.1, Wed Feb 20 21:47:24 2002, ,  )
U cvstest/file1.txt
-> unlink_file_dir(CVS/,,file2.txt)
-> checkout (//Zeus/cvsroot/cvstest/file2.txt,v, 1.1.1.1, , file2.txt)
-> chmod(file2.txt,100666)
-> Register(file2.txt, 1.1.1.1, Wed Feb 20 21:47:24 2002, ,  )
U cvstest/file2.txt
-> rename(CVS/Entries.Backup,CVS/Entries)
-> unlink(CVS/Entries.Log)

--------------------------------------------------------

When I set CVSROOT=\\Zeus\cvsroot, the result is identical except
of course where it refers to the cvs root

When I start, there is no cvstest directory on the client.  When I finish
I end up with c:\cvstest\CVS\Root which contains the following:

//Zeus/cvsroot


Thanks,

Mark





reply via email to

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