Chia-liang Kao (高嘉良) > SVK-v2.2.3 > SVK::Editor::XD

Download:
SVK-v2.2.3.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  57
Open  12
View/Report Bugs
Module Version: v2.2.3   Source  

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

SVK::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 (svn:keywords property).

syntax highlighting: