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

Reply via email to