info-cvs
[Top][All Lists]
Advanced

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

Re: cvs update fails,


From: Larry Jones
Subject: Re: cvs update fails,
Date: Mon, 7 Apr 2008 15:17:26 -0400 (EDT)

Neeraj Mahajan writes:
> 
> $ cvs -version

That's the same as ``cvs -v -e -r -s -i -o -n'' -- "version" is a
subcommand like update or import, not an option.

> === -t didn't give much ===>
> 
> $ cvs -nft update neerajprojects/project1
> cvs update: No CVSROOT specified!  Please use the `-d' option
> cvs [update aborted]: or set the CVSROOT environment variable.
>  -> Lock_Cleanup()

CVS always needs some default CVSROOT setting.  You either need to run
it in a directory that contains a CVS/Root file or, like the above
message says, you need to specify a default CVSROOT on the command line
using the -d global option or you need to set the $CVSROOT environment
variable.  Update will look at the CVS/Root file in each directory being
updated to get the correct CVSROOT for that directory, but it still
needs a default setting as well.

-Larry Jones

I'm getting disillusioned with these New Years. -- Calvin




reply via email to

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