Hi there, I am trying to utalise RCS on unix. I am including the following tags in my source code for RCS to populate based on rlog.
#$Author:$
#$Log:$
Everything i have read on the "co" man page of RCS indicates that the lines from the Log will be populated in the source file using the same char that comes before the "$Log:$" tag. However the problem i have is that the Log lines do not get started with the # and as such unix shell tries to execute these.
Can anyone tell me why the log lines are notbeing populated with # at the start of the line.
---------- Post updated at 03:40 PM ---------- Previous update was at 10:16 AM ----------
After some digging I have found that RCS sets the comment leader based on the file extention of the file being checked in.
The full table can be see in the man page of RCS.
In my case I am using ".ksh" file extention which RCS does not have in its table so didnt generate a comment leader.
This can be addressed by setting a comment leader after checking the file in
rcs -c"# " file.ksh
This will set the comment leader to the string value in the -c.
Hello all,
We would be migrating from HP-UX 11 to Red Hat Linux 5 shortly. On HP-UX we've been using RCS (Revision Control system). On RHEL I think there is an equivilant utility called Subversion..Is there a way to export the current contents from RCS in HP-UX and import it into Linux's... (2 Replies)
Well it is not a bad idea. I have worked for one place that did that. It wasn't my idea but I did not object. The reason it is done is to put critical files like nsswitch.conf, hosts, and so on under RCS control. Previous versions are then available to see how stuff changed over the years. ... (0 Replies)
does anyone know if RCS is part of UNIX? Does a copy come with all UNIX systesm? Is it a seperate program? Is it purchased? Or is RSC a freeware program downloaded for everyone to use? (3 Replies)
I am not really sure whether i am posting this question in the right forum.....Can someone tell me why I should go for a rational Clearcase version controller when I can use the version controllers 'rcs' or 'sccs' available in UNIX. I want to know the advantage of Rational over these two. Also, I... (2 Replies)