Using RCS to control large file trees |
|
If you have so many files that they are spread all over a large directory subtree (see `How to organize large collections of files', you can still use RCS for version control.
We recommend that you use the make system to help
with this process, with a Makefile in the root node
of the affected subtree that can help you perform RCS operations
for the whole tree.
Makefile
target for doing this, assuming that the relevant group name
is foo:
permissions:
find . -type d -exec chgrp foo '{}' ';'; \
find . -type d -exec chmod 775 '{}' ';'; \
find . -type f -exec chgrp foo '{}' ';'
Use the command ``make permissions'' in the root directory
to enforce permissions.
Makefile target:
anyout:
find . -name '*,v' -exec rlog -R -L '{}' ';'
The command ``make anyout'' in the root directory will
then list all the files you have checked out at or below that
directory.