1833875 Members
2538 Online
110063 Solutions
New Discussion

SCCS Help

 
Ash_4
Advisor

SCCS Help

Hello Masters Need UR Kind Help,
I have received some source code file from one of our site (eg. .sql, .pc, etc file) but with extention (,v) like filename.sql,v.
Since they are using sccs hp tools for maintaining source code.

Pl explain how can i convert these file to normal file.

filename.sql,v --> filename.sql

Thanks in adv.
6 REPLIES 6
Joaquin Gil de Vergara
Respected Contributor

Re: SCCS Help

very easy!

# mv filename.sql,v filename.sql
Teach is the best way to learn
Ash_4
Advisor

Re: SCCS Help

I mean how can i convert it using sccs.
Olav Baadsvik
Esteemed Contributor

Re: SCCS Help



Hi,

Use the command get.
See the man-page for get if you want
to extract one particular version of the
source-file.
sccs is not an HP tool, you will find it
on most UNIX-machines.

Regards
Olav
Olav Baadsvik
Esteemed Contributor

Re: SCCS Help


Hi again,

As the file endes with the extention ,v it
may be that RCS has been used for source
code revision control - not sccs.

If that is the case you must use the
rcs command co
Example:

co filename.sql

will check out the latest version of
filename.sql

You may use the rlog command as a quick
check to see if RCS has been used:

rlog filename.sql

will give you an overview of the various
versions of filename.sql if RCS has been
used

Regards
Olav
Ash_4
Advisor

Re: SCCS Help

Hi,
You r correct its a RCS File.
Can u tell me how to convert this to normal file.
Ash_4
Advisor

Re: SCCS Help

Hello, I used # co filename.sql to get the file back