50 lines
1.5 KiB
HTML
50 lines
1.5 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
|
|
<HTML>
|
|
<HEAD>
|
|
<META NAME="GENERATOR" CONTENT="SGML-Tools 1.0.9">
|
|
<TITLE> The RCS MINI-HOWTO: Creating and maintaining archives.</TITLE>
|
|
<LINK HREF="RCS-5.html" REL=next>
|
|
<LINK HREF="RCS-3.html" REL=previous>
|
|
<LINK HREF="RCS.html#toc4" REL=contents>
|
|
</HEAD>
|
|
<BODY>
|
|
<A HREF="RCS-5.html">Next</A>
|
|
<A HREF="RCS-3.html">Previous</A>
|
|
<A HREF="RCS.html#toc4">Contents</A>
|
|
<HR>
|
|
<H2><A NAME="s4">4. Creating and maintaining archives.</A></H2>
|
|
|
|
<P>The program <CODE>rcs(1)</CODE> does the work or creating archives and
|
|
modifying their attributes. A summary of <CODE>rcs(1)</CODE> options may
|
|
be found in the <CODE>rcs(1)</CODE> manual page.
|
|
<P>The easiest way to create an archive is first to <CODE>mkdir RCS</CODE> in
|
|
the current directory, then initialize the archive with the
|
|
<PRE>
|
|
rcs -i name_of_work_file
|
|
</PRE>
|
|
|
|
command. This creates and archive with the name <CODE>./RCS/name_of_work_file,v</CODE> and requests a text message
|
|
describing the archive, but it does not deposit any revisions in the
|
|
archive. You can turn on or off strict archive locking with the
|
|
commands
|
|
<PRE>
|
|
rcs -L name_of_work_file
|
|
</PRE>
|
|
|
|
and
|
|
<PRE>
|
|
rcs -U name_of_work_file
|
|
</PRE>
|
|
|
|
respectively. There are other options for controlling access to the
|
|
archive, setting its format, and setting revision numbers, which are
|
|
covered in the <CODE>rcs(1)</CODE> manual page.
|
|
<P>
|
|
<P>
|
|
<HR>
|
|
<A HREF="RCS-5.html">Next</A>
|
|
<A HREF="RCS-3.html">Previous</A>
|
|
<A HREF="RCS.html#toc4">Contents</A>
|
|
</BODY>
|
|
</HTML>
|