data/TWiki/TWikiStoreRcsWrapDotPm.txt
author Colas Nahaboo <colas@nahaboo.net>
Sat, 26 Jan 2008 15:50:53 +0100
changeset 0 414e01d06fd5
permissions -rw-r--r--
RELEASE 4.2.0 freetown
colas@0
     1
---+ Package =TWiki::Store::RcsWrap=
colas@0
     2
colas@0
     3
This package does not publish any methods. It implements the
colas@0
     4
virtual methods of the [[TWikiStoreRcsFileDotPm][TWiki::Store::RcsFile]] superclass.
colas@0
     5
colas@0
     6
Wrapper around the RCS commands required by TWiki.
colas@0
     7
There is one of these object for each file stored under RCS.
colas@0
     8
colas@0
     9
colas@0
    10
%TOC%
colas@0
    11
colas@0
    12
---++ ObjectMethod *finish* <tt>()</tt>
colas@0
    13
Break circular references.
colas@0
    14
colas@0
    15
colas@0
    16
colas@0
    17
---++ StaticMethod *parseRevisionDiff* <tt>($text) -> \@diffArray</tt>
colas@0
    18
colas@0
    19
| Description: | parse the text into an array of diff cells |
colas@0
    20
| #Description: | unlike Algorithm::Diff I concatinate lines of the same diffType that are sqential (this might be something that should be left up to the renderer) |
colas@0
    21
| Parameter: =$text= | currently unified or rcsdiff format |
colas@0
    22
| Return: =\@diffArray= | reference to an array of [ diffType, $right, $left ] |
colas@0
    23
| TODO: | move into RcsFile and add indirection in Store |
colas@0
    24
colas@0
    25