1 | .TH SVC 1
|
---|
2 | .SH NAME
|
---|
3 | svc, ci, co, svclog \- shell version control system
|
---|
4 | .SH SYNOPSIS
|
---|
5 | \fBci\fR [\fB\-lu\fR]\fR \fIfile\fR
|
---|
6 | .br
|
---|
7 | \fBco\fR [\fB\-l\fR]\fR [\fB\-r \fIrev\fR] \fIfile\fR
|
---|
8 | .br
|
---|
9 | \fBsvclog \fIfile\fR
|
---|
10 | .br
|
---|
11 | .de FL
|
---|
12 | .TP
|
---|
13 | \\fB\\$1\\fR
|
---|
14 | \\$2
|
---|
15 | ..
|
---|
16 | .de EX
|
---|
17 | .TP 20
|
---|
18 | \\fB\\$1\\fR
|
---|
19 | # \\$2
|
---|
20 | ..
|
---|
21 | .SH OPTIONS
|
---|
22 | .FL "\-l" "For \fIci\fR, checkin, checkout again, and lock file"
|
---|
23 | .FL "\-l" "For \fIco\fR, checkout file and then lock the archive"
|
---|
24 | .FL "\-u" "After checking in, do not delete the file"
|
---|
25 | .FL "\-r" "Check out revision \fIrev\fR instead most recent revision
|
---|
26 | .SH EXAMPLES
|
---|
27 | .EX "ci \-u file" "Check in \fIfile\fR"
|
---|
28 | .EX "co \-l file" "Check out \fIfile\fR and lock archive"
|
---|
29 | .EX "co \-r 2 file" "Check out version 2"
|
---|
30 | .SH DESCRIPTION
|
---|
31 | .PP
|
---|
32 | \fISvc\fR is the Shell Version Control system, patterned on RCS.
|
---|
33 | It maintains a sequence of versions in archive files, so that new versions
|
---|
34 | can be checked in (added to the archive), and old versions can be checked
|
---|
35 | out (made available).
|
---|
36 | To create an archive for \fIfile\fR, check it in with the \fB\-u\fR flag.
|
---|
37 | This action will prompt for a log message and then create an archive called
|
---|
38 | \fIfile,S\fR in the current directory, or in the subdirectory \fISVC\fR if
|
---|
39 | it exists.
|
---|
40 | The file will not be deleted, but will be made unwritable.
|
---|
41 | .PP
|
---|
42 | To update the file, check it out with the \fB\-l\fR flag.
|
---|
43 | Then modify it, and check it back in, giving a new message when prompted.
|
---|
44 | After this process has been repeated many times, the archive will contain
|
---|
45 | the entire history.
|
---|
46 | Any version can be checked out using the \fB\-r\fR flag.
|
---|
47 | To get a printout of the history, use \fIsvclog\fR.
|
---|