bug-cvs
[Top][All Lists]
Advanced

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

Re: cvs co -d <repository> prevention


From: Derek R. Price
Subject: Re: cvs co -d <repository> prevention
Date: Fri, 25 May 2001 11:21:36 -0400

Donald Sharp wrote:

> If the user has set his CVSROOT env variable and calls cvs in this
> manner:
>
> cvs co -d <repository> <module>
>
> The current version will happily check the module out inside of
> the repository.
>
> I've attached a patch that fixes this problem( It's not based on
> the other checkout into the repository patch I got going at this
> point in time. ).  I've also included a sanity.sh modification
> that shows tests this case ;)
>
> Please let me know if you have any suggestions/comments.

Any particular reason you wrote this to fall back on CWD if it can't check
the argument to '-d'?  It strikes me that checking CWD in this case is still
as pointless as it used ot be...

Derek

--
Derek Price                      CVS Solutions Architect ( http://CVSHome.org )
mailto:dprice@collab.net         CollabNet ( http://collab.net )
--
I am not deliciously saucy.
I am not deliciously saucy.
I am not deliciously saucy...

          - Bart Simpson on chalkboard, _The Simpsons_






reply via email to

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