VCS::Rcs::DeltatextPerl extension for RCS like Deltatext parsing | |
Download |
VCS::Rcs::Deltatext Ranking & Summary
Advertisement
- License:
- Perl Artistic License
- Price:
- FREE
- Publisher Name:
- Ziya Suzen
- Publisher web site:
- http://search.cpan.org/~ziya/
VCS::Rcs::Deltatext Tags
VCS::Rcs::Deltatext Description
Perl extension for RCS like Deltatext parsing VCS::Rcs::Deltatext is a Perl extension for RCS like Deltatext parsing.SYNOPSIS use VCS::Rcs::Deltatext; my $dt = new VCS::Rcs::Deltatext(); # Parse RCS file and find the last revision. # Put 'Last Revision' in $dt->lastrev($ref_text, $rev); # Parse RCS file and find the following revisions # Aply the deltatext $dt->deltarev($ref_deltatext, $rev); # add other details $dt->date($rev. $date); $dt->author($rev. $author); $dt->anything($rev. $anything); ... ... # more 'deltarev's and details @all_revisions = $dt->revs(); print "Revisions Text : ", $dt->rev('1.1'), " "; print "Revisions Date : ", $dt->date('1,1'), " "; print "Revisions Athor : ", $dt->author('1,1'), " "; print "Revisions Anything: ", $dt->anything('1,1'), " ";VCS::Rcs::Deltatext, simply applies 'diff -n' style patches. This format is used in RCS files to keep the file history. Because there is no other use for today (as far as I know) this class is put under VCS::Rcs::. Unless you have a verygood reason not to use patch. Requirements: · Perl
VCS::Rcs::Deltatext Related Software