GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

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

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

 # 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 ($check_only);
 # apply to arbitrary target
 $patch->apply_to ($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);

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

Create a SVK::Patch object.

Load a SVK::Patch object from file.

Store a SVK::Patch object to file.

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

Associate the patch with ticket generated from $source but excluding duplicated ones from <$target>.

Returns a editor that finalize the patch object upon close_edit.
2008-08-05 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.