Greg Woods is working on removing the need to "cvs add subdir". There was a lot
of traffic about it a couple of months ago. I don't know where that development
stands now.
I know this info doesn't help right now. The only other alternative I know is
if you make the change yourself locally. Any global change will definitely
conflict with Greg's potential, pending changes.
Noel
[EMAIL PROTECTED] on 04/17/2000 04:54:52 PM
To: [EMAIL PROTECTED]
cc: (bcc: Noel L Yap)
Subject: Help: Scripts to change repositories
I'm working on some scripts to allow people to use multiple repositories
with a single set of files, and I've run into a problem.
'cvs add subdir' will fail to work if there is a CVS directory in
subdir. No test is made to see if there is no control files in subdir or
not, only if the CVS directory exists.
In other words, my scripts work fine, changing the cvs repository
information around, until you add a new subdirectory. Then, it can be
added to one of your repositories, only.
The only work-around that I can see at the moment is to not store the
'extra repository' information in the CVS directory, but in another
direcctory, and to be 'rmdir'/'mkdir'-ing CVS directories a lot. This
has the disadvantage of exposing at least one new directory into public
view.
Is there any chance that we can get 'cvs add subdir' to say 'Hey,
subdir/CVS does exist, but is not in the repository and has no
Repository, Root, Entries, etc -- lets create those admin files and add
subdir to the repository'?
Michael