The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

SVK::Patch - Class representing a patch to be applied

SYNOPSIS

    $patch = SVK::Patch->new (name => 'my patch', level => 0);
    $patch->applyto ($repos, $target);
    $patch->from ($repos, $source);

    $editor = $patch->editor
    # feed things to $editor
    $patch->view
    $patch->applicable

DESCRIPTION

SVK::Patch represents tree delta and assorted meta data, such as merge info and anchor for the patch to be applied.

METHODS

new

Create a SVK::Patch object.

load

Load a SVK::Patch object from file.

store

Store a SVK::Patch object to file.

editor

Return the SVK::Editor::Patch object for feeding editor calls to, or driving other editors.

applyto

Assign the destination ($repos, $path) of the patch.

from

Assign the source ($repos, $path) of the patch.

AUTHORS

Chia-liang Kao <clkao@clkao.org>

COPYRIGHT

Copyright 2003-2004 by Chia-liang Kao <clkao@clkao.org>.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

See http://www.perl.com/perl/misc/Artistic.html