I can try out your suggestion for CVSROOT .. but then my question is why does cvs update fail in first case and succeeds in second. (with reference to the steps I mentioned in my original post) ..
<snip> $ cvs -nf update neerajprojects/project1 cvs update: No CVSROOT specified! Please use the `-d' option cvs [update aborted]: or set the CVSROOT environment variable. $ cd neerajprojects $ cvs -nf update project1 cvs update: Updating project1 ... i.e. this succeeds </snip> The SmartCVS thing was mentioned by me to just give more info .. SmartCVS doesn't fail while doing the update ... and so I mentioned it in my post thinking it might help in diagnosing the problem. I don't see how your suggestion would help .. as I am not sure what to ask about SmartCVS. ~Neeraj -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Spiro Trikaliotis Sent: Saturday, April 05, 2008 2:49 AM To: [email protected] Subject: Re: cvs update fails,complains 'No CVSROOT specified' even when it is set Hello, * On Fri, Apr 04, 2008 at 06:10:27PM -0700 Neeraj Mahajan wrote: > I am having this weird problem - when I issue cvs update it returns an error. > The following steps would give more details: > > $ cd ~/dev > $ echo $CVSROOT > somecvsserver.com:/CVSROOT [...] > Any idea what the problem is? Depending upon which access method you are using, prepend the access method (":pserver:", ":ext:", ...) before your CVSROOT. > One thing that I observed is that when using SmartCVS, it always executes the > cvs commands from the base dir ~/dev/someproj/neerajprojects and not from > ~/dev/someproj. I think you should ask on a SmartCVS mailing list for this one. HTH, Spiro. -- Spiro R. Trikaliotis http://opencbm.sf.net/ http://www.trikaliotis.net/ http://www.viceteam.org/
