
VCS::LibCVS::Slice - A slice through a CVS Repository.


A set of revisions in the repository, with at most one revision per file. Common examples of slices are the revisions of all files in a directory at a specific time, or all file revisions with a specific tag.
A slice is used to manipulate sets of revisions for operations such as tagging and retrieving known configurations.

$file_rev = $slice->get_revision($file)
Returns the revision of the given file in this slice, or undef if there isn't one.
@file_revs = $slice->get_revisions()
Returns all the revisions in this slice, in a list.
$slice->add_revision($file_rev)
Adds the provided FileRevision to the slice. If the file already has a revision in this slice, it is overwritten.
$slice->tag($tag_name)
Tag the revisions in this slice with the given tag_name. If you want to create a branch at these revisions, use branch() instead.

VCS::LibCVS