info-cvs
[Top][All Lists]
Advanced

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

Re: Checkout into a specific directory


From: Larry Jones
Subject: Re: Checkout into a specific directory
Date: Thu, 25 Oct 2001 16:00:18 -0400 (EDT)

Jason Allen writes:
> 
> cvs -d :ext:address@hidden:/repos -z3 co -kb -N -d "c:\test" moduleName\dir1 
> moduleName\dir2
> 
> The problem is that CVS creates a "moduleName" directory in c:\test and
> then checks out the directories into this folder. What I want is to be
> able to checkout the dir1 and dir2 directories directly into c:\test. Is
> this possible?

Well, one way to do it is:

        cvs co -d c:/test -l moduleName
        cd c:/test
        cvs co dir1 dir2

Another is:

        cvs co -d c:/test -l moduleName
        cvs co -d c:/test/dir1 moduleName/dir1
        cvs co -d c:/test/dir2 moduleName/dir2

(Note that backslashes only mostly work with CVS -- unless you enjoy
unpleasant surprises, I suggest you get used to using forward slashes
in CVS commands instead.)

-Larry Jones

I stand FIRM in my belief of what's right!  I REFUSE to
compromise my principles! -- Calvin



reply via email to

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