[Top][All Lists]

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

RE: cvs add <directory>

From: Shankar Unni
Subject: RE: cvs add <directory>
Date: Fri, 23 May 2003 15:25:51 -0700

Greg Woods wrote:

> What, exactly, do you think directories are, anyway?  What is 
> a "version" of a directory?  You can get yourself into a very 
> nasty endless loop as soon as you try to think about 
> versioning directories instead of just versioning your content.

Well, directories *are* content - they represent a structure of
information just like the text or binary files do, and they are
orthogonal to the contents of the files themselves.

I know that the CVS aficionados like to think of directories as just
artifacts of some arbitrary file arrangement, but the actual directory
organization is important in many (most) cases. 

Consider, for instance, a product script setup that's checked in to CVS.
If the product's directories are reorganized in the future such that
files move around, it's important to be able to keep the file's history
separate from that of its location in the tree, so that I can see a
unified history of the file across that move. Having to "delete" the
file from one location and "create" it another breaks the history chain.

reply via email to

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