info-cvs
[Top][All Lists]
Advanced

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

Re: Trouble in checking out from remote CVS server


From: Larry Jones
Subject: Re: Trouble in checking out from remote CVS server
Date: Tue, 3 Oct 2000 16:56:17 -0400 (EDT)

Feng Sian writes:
> 
> > What is $CVSROOT set to?
> 
> /works/CVS

I meant for the client -- it should start with :pserver:.

> The correct $HOME value should then be the users' home? I'm wondering if 
> running
> a script to set the correct values for $HOME would work... But this solutin 
> seems
> pretty ugly :-<

$HOME shouldn't be set at all!  CVS is perfectly capable of figuring out
where the user's home directory is, but if $HOME is set, it will just
use it instead.  (That's intended to let the user override the default,
which makes sense for stand-alone or client CVS, but not really for
server CVS.  Since the same code is used for all three modes, however,
it isn't really practical to make it work differently for the server.)

The simplest thing to do is to use env to clear out the environment
completely.  You can probably use it to run either tcpserver or cvs.

-Larry Jones

If I get a bad grade, it'll be YOUR fault for not doing the work for me!
-- Calvin



reply via email to

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