bug-cvs
[Top][All Lists]
Advanced

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

RE: Fix for checking out inside of repository with nfs and automo unt


From: Cameron, Steve
Subject: RE: Fix for checking out inside of repository with nfs and automo unt
Date: Wed, 23 May 2001 17:11:11 -0500

        Donald Sharp wrote:

        [...] 

> This patch modifies the current behaviour of checkout.c, safe_location()
> to assume that you are not inside of the repository if you are using cvs
> in a remote manner.
        [smc]  is this a safe assumption?  If I have my home driectory nfs
(auto)mounted everywhere, and thus my .login is the same everywhere, and so
likely, .login sets CVSROOT to be something remote (rsh), even if I'm logged
in on the CVS server..., (so that if I then later login somewhere else, and
access my NFS mounted home dir where I checked out something,  the CVS/Root
files will still be correct and CVS will still work in that sandbox...,
which it wouldn't if my login differentiated between local and remote and
set CVSROOT differently....)

        All it takes is to type the right command into the wrong window...
("init 6" seems to be one of my favorites. :-)  

        (Not neccessarily that I mean to imply that the patch isn't an
improvement over the previous state of affairs.)

        -- steve 



reply via email to

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