[Top][All Lists]

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

Re: Does remote checkout support -d ?

From: Larry Jones
Subject: Re: Does remote checkout support -d ?
Date: Fri, 12 Jan 2001 11:34:43 -0500 (EST)

Michael Peck writes:
> You're saying that the -d parameter to checkout is SUPPOSED to override 
> cvsroot
> in c/s mode????

No.  As you said, it's the -d global option that overrides CVSROOT, not
the -d option of checkout.  What I'm saying is that the -d option to
checkout can't contain subdirectories if you're running in client/server
mode because all but the last directory must already exist and that will
almost certainly not be true on the server.  That is, if you do:

        cvs co -d a/b/c foo

in local mode, then a and a/b must already exist; CVS will create a/b/c
if it doesn't already exist and only a/b/c will have a CVS subdirectory.
If you try that in client/server mode, the server will try to run that
same command in its temporary directory and it will probably fail
because a and a/b won't exist in the server's temporary directory, even
if they do exist in your local directory.

-Larry Jones

Like I'm going to get any sleep NOW. -- Calvin

reply via email to

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