info-cvs
[Top][All Lists]
Advanced

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

Re: CVS - CO single file w/o dirpath


From: Larry Jones
Subject: Re: CVS - CO single file w/o dirpath
Date: Tue, 19 Jun 2001 16:40:15 -0400 (EDT)

Lamar Seifuddin writes:
> 
>  I want to check out one file at least five directories deep,.
[...]
>  But, I just want the file, not the directory path.
[...]
>  cvs checkout -r REL-2-3-0-d3 -dN src/archgen/README

-d takes an argument -- the directory name to checkout into -- so that N
is being taken as the directory name, not the -N flag.

>  This created a N directory with the file README

Which is exactly what you asked it to do.  I'm not sure from your
description exactly what it is that you want.  Perhaps some examples
will help.  If you do:

        cvs co -d foo src/archgen/README

CVS will create foo and foo/README.  If you use -N as well:

        cvs co -d foo -N src/archgen/README

CVS will create foo, foo/src, foo/src/archgen, and
foo/src/archgen/README.

-Larry Jones

They can make me do it, but they can't make me do it with dignity. -- Calvin



reply via email to

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