rcstools

Section: User Commands (1)
Index Return to Main Contents
 

Name

rcstools - RCS tools for whole project  

Syntax

rcs_cl

rcs_unknown

rcsdiffs

rcsl

rcsrelease NN short_name "log entry description" :

Rinfo

 

Description

rcs_cl - Print change log for all RCS controlled files under current directory.

rcs_unknown - Find all 'source' files under $PROJECT not under RCS.

rcsdiffs - Identify files modified from their most recent RCS entry

rcsl - find who has files checked out from the project tree.

rcsrelease - Put a release name (and number) through a project tree.

Rinfo - Who has what files locked in the current working directory.

 

Example

rcs_cl

$ rcs_cl
Printing RCS log strings for all source file changes made on 15/10/96.
Searching all directories under: /tmp

Working file: /tmp/ftime.c
----------------------------
revision 9.1    locked by: horton;
date: 1996/10/15 07:34:21;  author: horton;  state: Exp;  lines: +6 -3
rcsrelease example release
----------------------------
revision 1.1
date: 1996/10/15 07:33:04;  author: horton;  state: Exp;
Initial revision
=====================================================
Working file: /tmp/gcore.c

rcs_unknown

$ echo $PROJECT
/tmp
$ ls RCS
ftime.c,v   gcore.c,v
$ ls *.c
ftime.c   gcore.c   xx.c
$  rcs_unknown
/tmp/xx.c

rcsdiffs

$ rcsdiffs
/tmp/ftime.c
$ rcsdiff /tmp/ftime.c
====================================================
RCS file: /tmp/RCS/ftime.c,v
retrieving revision 9.1
diff -r9.1 /tmp/ftime.c
57a58,60
>       if(strlen(argv[1]) == 0 )
>               exit (2);
> 

rcsl

$ rcsl
/tmp/RCS/ftime.c,v
Working file: ftime.c
revision 9.1    locked by: horton;

rcsrelease

$  rcsrelease
Enter version number for this release
9
Enter one word name for this release
ReUse
Enter log entry for release {one line}
rcsrelease example release
Enter major release numbers not to update
This should be a colon separated list. Simple colon if none
:
/home/horton/bin/rcsrelease 9 ReUse rcsrelease example release over /tmp
Update ftime.c. Current version number: 1.1
RCS file: /tmp/RCS/ftime.c,v
1.1 locked
done
rcs -l /tmp/ftime.c
/tmp/RCS/ftime.c,v  <--  /tmp/ftime.c
new revision: 9.1; previous revision: 1.1
done
ci -f9 -NReUse -u /tmp/ftime.c

Rinfo

$  Rinfo
    ftime.c is locked by horton

 

Files

Typically expects rcs files stored under "RCS" directories.

 

Sources

/home/lime/necatm/bin/rcs_cl

/projects6/necatm/380/bin/rcs_unknown

/home/horton/bin/rcsdiffs

/home/horton/bin/rcsl

/home/horton/bin/rcsrelease

/usr/local/bin/Rinfo (lime)

 

Environment

Project tree root is determined by the environment variable PROJECT.

Some tools will allow override of current working directory by CURRENT.

 

See Also

rcs(1)

 

Bugs

Inconsistent use of PROJECT, CURRENT, and current directory.

 

Author

NC380 project team and others in CiTR.

 

Copyright

Centre for Information Technology Research, 1994


 

Index

Name
Syntax
Description
Example
Files
Sources
Environment
See Also
Bugs
Author
Copyright

This document was created by man2html, using the manual pages.
Time: 23:34:46 GMT, September 27, 2019