NAME
SVK::Editor::Rename - An editor that translates editor calls for
renamed entriesSYNOPSIS
$editor = SVK::Editor::Rename->new
( editor => $nexteditor,
renamemap => \@renamemap );DESCRIPTION
Given the renamemap, which is a list of [from, to] pairs fortranslating path in editor calls, "SVK::Editor::Rename" serialize the
calls and rearrange them for making proper calls to $nexteditor.
The translation of pathnames is done with iterating through the @renamemap, translate with the first match. Translation is redone untill no match is found."SVK::Editor::Rename" is a subclass of "SVK::Editor::Patch", which
serailizes incoming editor calls. Each baton opened is recorded in"$self-"{openedbaton}>, which could be use to lookup with path names.
When a path is opened that should be renamed, it's recorded in"$self-"{renamedanchor}> for reanchoring the renamed result to proper
parent directory before calls are emitted to $nexteditor.
perl v5.8.8 2006-12-28 SVK::Editor::Rename(3)