info-cvs
[Top][All Lists]
Advanced

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

RE: Files under CVS control, but not in the repository


From: Jim.Hyslop
Subject: RE: Files under CVS control, but not in the repository
Date: Thu, 17 Jun 2004 11:31:42 -0400

Anand Graves wrote:
> I am developing a website in PHP, but not all the files can 
> be found in one directory. For example I have a directory 
> <phpwebsite> and within there are files for css, javascript, 
> etc. But I have configuration and library files outside this 
> directory, for example /var/<phpwebsite>/libraries and 
> /var/<phpwebsite>/configuration.
> 
> Is it possible to put files under CVS control if they're not 
> in the repository?
No. By definition, a file is under CVS control only when it is in the
repository.

You could create a directory in the repository containing these files, and
add a script that will automatically check out or export these files to the
/var directory whenever you commit them. See
https://www.cvshome.org/docs/manual/cvs-1.11.16/cvs_18.html#SEC175 for more
details on how to do this.

-- 
Jim Hyslop
Senior Software Designer
Leitch Technology International Inc. (http://www.leitch.com)
Columnist, C/C++ Users Journal (http://www.cuj.com/experts)





reply via email to

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