Some examples, starting with directory structure and contents:
/home/projects/foo: Makefile (Top level Makefile for project) README license.gpl CHANGELOG
/home/projects/foo/include: mydaemon.h db_connect.h myclient.h foo.h
/home/projects/foo/server: Makefile db_connect.c mydaemon.c
/home/projects/foo/client: Makefile myclient.c
If an RCS directory already exists in each directory, the RCS files will go in (base directory)/RCS. If not, they will stay in the directory you checked them in from originally (Note- this is _their_ initial directory, not your working directory when you do the checkin!)
So the top-level Makefile would become either /home/projects/foo/RCS/Makefile,v , or, if the RCS dir didn't already exist, /home/projects/foo/Makefile,v
and the myclient.c file on checkin would become:
/home/projects/foo/client/RCS/myclient.c,v , or again if the RCS dir didn't already exist, /home/projects/foo/client/myclient.c,v ..
Hope that helps..
Scott
PS- Remember to always at least do a co <filename> after initial checkin, as ci <file> without other params creates the RCS/delta file, but will not leave the original filename in place...
Alden Louis-Pierre wrote:
I'm learning how to use the RCS utility. I never knew such a tool existed. I understand the commands and concept,
but as always I need some enlightment with the following question:
/home/apierre/RCS - my RCS directory
/home/apierre/Prog/C/Joy_of_C/chp_1 - the location of my C files from a book I'm learning.
If I were to ci(check in) my files from were my C files is located, would my revisions be placed in my RCS directory?
Thank You Alden Louis-Pierre
_______________________________________________
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"
_______________________________________________ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"