info-cvs
[Top][All Lists]
Advanced

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

The recursive behavior of CVS


From: Reinstein, Shlomo
Subject: The recursive behavior of CVS
Date: Wed, 19 Feb 2003 14:24:32 +0200

Hi,

About 2 years ago I asked about the recursive behavior of CVS. I asked how
CVS decides whether it should recurse into a subdirectory or not, and I got
the following reply from Larry Jones: "In general, if there's no CVS
subdirectory in a directory or if there are no D lines in CVS/Entries, CVS
will recurse into all of the existing subdirectories. If there are D lines
in CVS/Entries, CVS will recurse into only those subdirectories."
You can find the question and the reply at:
http://www.mail-archive.com/address@hidden/msg07004.html

Is this behavior limited to a single CVS repository? That is, if I have a
directory tree that contains working directories from several repositories,
and also non-working directories, is this algorithm still the same?

I have the following case: Under some directory (let's call it "root"),
there are 4 directories: dir1, dir2, dir3, dir4. dir1 and dir4 are working
directories, while the other two are non-working directories (just simple
directories created with mkdir), however, they contain working directories
just beneath them. When I run "cvs update" at "root", it recurses into dir1
and dir4, but not into dir2 and dir3 (i.e., not into their subdirectories
which are working directories). Any idea why is that?

Thanks,
Shlomo







reply via email to

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