The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

VcsTools::DataSpec::Rcs - Rcs data description

SYNOPSIS

 use VcsTools::DataSpec::Rcs qw($description readHook);
 use VcsTools::LogParser ;

 my $ds = new VcsTools::LogParser 
  (
   readHook => \&readHook,
   description => $description
  ) ;

DESCRIPTION

This class contains all the custom information needed to retrieve data from an RCS log using the generic VcsTools::LogParser class.

The $description hash ref defines the informations that are contained in the log of each version of the RCS file.

This class can be used as a template for other VCS systems and other needs.

The readHook is used to find the first revision of a branch. For instance a branch is named 1.5.1 in the VCS history, the readHook will find that the actual first revision of the branch is 1.5.1.1.

RCS DATA DESCRIPTION

state

Taken from 'state' RCS field. It can be either Dead Exp or Product according to the level of confidence.

branches

Taken from 'branches' RCS field. List the branches of a version. read-only value.

Author

Taken from 'Author' RCS field. Name of the author of the revision or the name of the last guy who modified the RCS log.

date

Date of the archive. Set by RCS. read-only value.

misc

Miscellaneous comments about this version.

AUTHOR

Dominique Dumont, Dominique_Dumont@grenoble.hp.com

Copyright (c) 1998-1999 Dominique Dumont. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

SEE ALSO

perl(1)