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: Thu, 24 May 2001 16:37:25 -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.

Looks good so far.  Snarfed for testing.

Derek

--
Derek Price                      CVS Solutions Architect ( http://CVSHome.org )
mailto:dprice@collab.net         CollabNet ( http://collab.net )
--
There is not a truth existing which I fear or would wish unknown to the whole
world.
                        - Thomas Jefferson to Henry Lee, 1826






reply via email to

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