Manual Pages for UNIX Darwin command on man SVK::Patch
MyWebUniversity

Manual Pages for UNIX Darwin command on man SVK::Patch

SVK::Patch(3) User Contributed Perl Documentation SVK::Patch(3)

NAME

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

SYNOPSIS

# Using SVK::Patch

$patch = SVK::Patch->load ($file, $xd, $depotname);

$patch->view;

# update patch for target

$patch->update;

# regenerate patch from source branch

$patch->regen;

# apply the patch to designated target

$patch->apply ($checkonly);

# apply to arbitrary target

$patch->applyto ($target, $storage, %cb);

# Creating SVK::Patch

$patch = SVK::Patch->new ('my patch', $xd, $depotname, $src, $dst);

$editor = $patch->editor

# feed things to $editor

$patch->store ($file);

DESCRIPTION

SVK::Patch represents tree delta and assorted meta data, such as merge

info and anchor for the patch to be applied. MMEETTHHOODDSS nneeww

Create a SVK::Patch object.

llooaadd

Load a SVK::Patch object from file.

ssttoorree

Store a SVK::Patch object to file.

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

ttiicckkeett (($$mmeerrggee,, $$ssoouurrccee, $target;

Associate the patch with ticket generated from $source but excluding

duplicated ones from <$target>.

ccoommmmiitteeddiittoorr Returns a editor that finalize the patch object upon closeedit.

perl v5.8.8 2006-12-28 SVK::Patch(3)




Contact us      |      About us      |      Term of use      |       Copyright © 2000-2019 MyWebUniversity.com ™