[Top][All Lists]

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

Re: Newbie question

From: Mark D. Baushke
Subject: Re: Newbie question
Date: Tue, 18 Mar 2003 20:57:40 -0800

Xicheng Jia <address@hidden> writes:

> May anyone tell me how to checkout just one file from lots
> of files with the same revision number. say: I want to checkout
> a file named "run.c" from the module, but there are many other
> files in the same module(also in the same directory, and with the
> same revision).

cvs checkout -r1.7 module/run.c
> Also, how to checkout files without including the directory
> information, say: my module name is "intfc", and all files
> are saved in a directory named "intfc" after I imported them.
> When i checkout, CVS will automatically make a directory named
> "intfc". Is it possible to neglect this directory, and checkout my
> files directly in my current directory.


You may get copies of particular versions of files in the repository in
your local directory using something like:

cvs checkout -r1.7 -p module/run.c > run.c

However, that is unlikely to be what you wanted.

        -- Mark

reply via email to

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