Go to the previous, next section.
When I say cvs checkout module/sub-directory and then
cvs release module/sub-directory it says unknown module name. why?
cvs release module should work with this.
Because of incorrect releasing of directories, I noticed that cvs
history reports that modules are still checked out. how do I correct
this?
If I just made a typo and started to check out a tree I did not want to. Can I hit control-c? What are the ramifications?
I screw up and removed the tree that I was about to start working on. How do I tell CVS that I want to release it if I don't have it anymore?
What is the proper way to configure CVS for multi-user operations? What sort of file directory modes are appropriate aside from 770 modes everywhere. Any setgid support?
find $CVSROOT -type d -exec chgrp src {} \;
find $CVSROOT -type d -exec chmod 770 {} \;
and (if available)
find $CVSROOT -type d -exec chmod g+s {} \;
I am constantly running into different library modules to fix problems or add need features. This may not be a good practice but how does CVS fit in this scenario. Should I checkout the modules I need and once and a while commit them?
I have 4 releases of my debug malloc subsystem. They are 1.01, 1.02, 1.03, 1.05. Should I:
cvs import -b 1.1.1 -m 'Malloc 1.01' MALLOC_1_01 malloc_1_01 cvs import -b 1.1.2 -m 'Malloc 1.02' MALLOC_1_02 malloc_1_02 cvs import -b 1.1.3 -m 'Malloc 1.03' MALLOC_1_03 malloc_1_03 cvs import -b 1.1.5 -m 'Malloc 1.05' MALLOC_1_05 malloc_1_05for each set of files? Are these sane incantations?
cvs import may not be the right may to do this. you
should cvs import the first set of files then for each
release you should:
cvs add/remove the files that have been added/deleted
cvs commit the new version
cvs tag the files with the appropriate release-tag
When I use the above multiple-import method and I say cvs checkout
malloc I do not just get the files that correspond to version 1.05 . I
get all of the files. I have to say cvs checkout -r malloc_1_05
malloc to do this. Is this correct or do I need to cvs remove
the files that have been removed between the different versions?
cvs add/remove files to have the repository know
about them. the files that are removed are placed in the attic so that
old-revisions can find them.
Is there a CVS feature to tell me what files have changed, what are new what have been removed from the current directory?
cvs update, CVS will inform you of the
changed/modified files with a M, updated files with a U, and removed
files with an R. It will show you files that might need to be
added with a ?.
If I had a file at one point, but I did a cvs remove on it, and
now I need to recreate it. How can I re-add it? It complains that it
is in the Attic. Can it live there for old versions but also exist the
in normal repository for newer versions?
cp
-i and mv -i or just watch your back and take your time.
Go to the previous, next section.