SVK::Editor::XD - An editor for modifying svk checkout copies
$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 { ... }, );
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.
In addition to the paramters to SVK::Editor::Checkout:
The target path of the editor calls. Used for deciding if the root's meta data needs to be updated in update mode.
XD object.
Old root before the editor calls.
New root after the editor calls.
Working in update mode.
A callback to translate paths in editor calls to path in depot.
Don't do keyword translations.
To install SVK, copy and paste the appropriate command in to your terminal.
cpanm
cpanm SVK
CPAN shell
perl -MCPAN -e shell install SVK
For more information on module installation, please visit the detailed CPAN module installation guide.