SVK::Editor::XD(3) User Contributed Perl Documentation SVK::Editor::XD(3)
NAME
SVK::Editor::XD - An editor for modifying svk checkout copies
SYNOPSIS
$editor = SVK::Editor::XD->new
( path => $path,
target => $target,
oldroot => $fs->revision_root ($fromrev),
newroot => $fs->revision_root ($torev),
xd => $xd,
get_copath => sub { ... },
get_path => sub { ... },
);
DESCRIPTION
SVK::Editor::XD modifies existing checkout copies at the paths translated by the get_copath callback,
according to the incoming editor calls. The path in the depot is translated with the get_path
callback.
There are two modes, one is for applying changes to checkout copy as external modification, like
merging changes. The other is update mode, which is used for bringing changes from depot to checkout
copies.
PARAMETERS
In addition to the paramters to SVK::Editor::Checkout:
target
The target path of the editor calls. Used for deciding if the root's meta data needs to be
updated in update mode.
xd XD object.
oldroot
Old root before the editor calls.
newroot
New root after the editor calls.
update
Working in update mode.
get_path
A callback to translate paths in editor calls to path in depot.
ignore_keywords
Don't do keyword translations.
perl v5.8.8 2007-03-14 SVK::Editor::XD(3)
|