diff options
author | Jason McIntyre <jmc@cvs.openbsd.org> | 2006-03-07 11:19:09 +0000 |
---|---|---|
committer | Jason McIntyre <jmc@cvs.openbsd.org> | 2006-03-07 11:19:09 +0000 |
commit | 15ce7a82ca793e1d2c675c2eb1dcc305b851ec9e (patch) | |
tree | e395c957d1a95b8bc3db24325b9bd1c13a2eaf1d | |
parent | fdf3e1b9bccd4aa922ce4ea6ff91d4b2eb170b41 (diff) |
rcsintro.7 now merged into rcs.1;
-rw-r--r-- | usr.bin/rcs/Makefile | 5 | ||||
-rw-r--r-- | usr.bin/rcs/rcsintro.7 | 108 |
2 files changed, 2 insertions, 111 deletions
diff --git a/usr.bin/rcs/Makefile b/usr.bin/rcs/Makefile index 22183256359..4116d2b3f96 100644 --- a/usr.bin/rcs/Makefile +++ b/usr.bin/rcs/Makefile @@ -1,10 +1,9 @@ -# $OpenBSD: Makefile,v 1.26 2005/12/10 20:27:46 joris Exp $ +# $OpenBSD: Makefile,v 1.27 2006/03/07 11:19:08 jmc Exp $ .PATH: ${.CURDIR}/../cvs PROG= rcs -MAN= ci.1 co.1 ident.1 rcs.1 rcsclean.1 rcsdiff.1 rcsmerge.1 rlog.1 \ - rcsintro.7 +MAN= ci.1 co.1 ident.1 rcs.1 rcsclean.1 rcsdiff.1 rcsmerge.1 rlog.1 SRCS= ci.c co.c ident.c rcsclean.c rcsdiff.c rcsmerge.c rcsprog.c rlog.c \ buf.c date.y diff.c diff3.c fatal.c log.c rcs.c rcsnum.c util.c \ diff --git a/usr.bin/rcs/rcsintro.7 b/usr.bin/rcs/rcsintro.7 deleted file mode 100644 index fbccaff75a7..00000000000 --- a/usr.bin/rcs/rcsintro.7 +++ /dev/null @@ -1,108 +0,0 @@ -.\" $OpenBSD: rcsintro.7,v 1.5 2006/03/06 09:41:53 deraadt Exp $ -.\" -.\" Copyright (c) 2005 Xavier Santolaria <xsa@openbsd.org> -.\" All rights reserved. -.\" -.\" Permission to use, copy, modify, and distribute this software for any -.\" purpose with or without fee is hereby granted, provided that the above -.\" copyright notice and this permission notice appear in all copies. -.\" -.\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES -.\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF -.\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR -.\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES -.\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN -.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF -.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. -.Dd October 19, 2005 -.Dt RCSINTRO 7 -.Os -.Sh NAME -.Nm rcsintro -.Nd introdution to Revision Control System -.Sh DESCRIPTION -Revision Control System (RCS) is a software tool which lets people -manage multiple revisions of text that is revised frequently, such as -source code or documentation. -.Sh USING RCS TO TRACK FILE CHANGES -One of the most common uses of -.Xr rcs 1 -is to track changes to a document containing source code. -.Pp -As an example, -we'll look at a user wishing to track source changes to a file -.Ar foo.c . -.Pp -If the -.Ar RCS -directory does not exist yet, create it as follows and invoke the -check-in command: -.Bd -literal -offset indent -$ mkdir RCS -$ ci foo.c -.Ed -.Pp -This command creates an RCS file -.Ar foo.c,v -in the -.Ar RCS -directory, stores -.Ar foo.c -into it as revision 1.1, and deletes -.Ar foo.c . -.Xr ci 1 -will prompt for a description of the file to be entered. -Whenever a newly created (or updated) file is checked-in, -.Xr ci 1 -will prompt for a log message to be entered which should summarize -the changes made to the file. -That log message will be added to the RCS file along with the new revision. -.Pp -The -.Xr co 1 -command can now be used to obtain a copy of the checked-in -.Ar foo.c,v -file: -.Pp -.Dl $ co foo.c -.Pp -This command check the file out in shared, or unlocked mode. -If a user wants to have exclusive access to the file to make changes to it, -it needs to be checked out in locked mode using the -.Fl l -option of the -.Xr co 1 -command. -Only one concurrent locked checkout of a revision is permitted. -.Pp -Once changes have been made to the -.Pa foo.c -file, and before checking the file in, the -.Xr rcsdiff 1 -command can be used to view changes between the working file -and the most recently checked-in revision: -.Pp -.Dl $ rcsdiff -u foo.c -.Pp -The -.Fl u -option produces a unified diff. -See -.Xr diff 1 -for more information. -.Sh SEE ALSO -.Xr ci 1 , -.Xr co 1 , -.Xr cvs 1 , -.Xr ident 1 , -.Xr rcs 1 , -.Xr rcsclean 1 , -.Xr rcsdiff 1 , -.Xr rcsmerge 1 , -.Xr rlog 1 -.Sh HISTORY -The OpenRCS project is a BSD-licensed rewrite of the original -Revision Control System written by Jean-Francois Brousseau, Joris Vink, -Niall O'Higgins, and Xavier Santolaria. -The original RCS code was written in large parts by Walter F. Tichy, -and Paul Eggert. |