1SVK::Editor::Rename(3)User Contributed Perl DocumentationSVK::Editor::Rename(3)
2
3
4

NAME

6       SVK::Editor::Rename - An editor that translates editor calls for
7       renamed entries
8

SYNOPSIS

10         $editor = SVK::Editor::Rename->new
11           ( editor => $next_editor,
12             rename_map => \@rename_map
13           );
14

DESCRIPTION

16       Given the rename_map, which is a list of [from, to] pairs for
17       translating path in editor calls, "SVK::Editor::Rename" serialize the
18       calls and rearrange them for making proper calls to $next_editor.
19
20       The translation of pathnames is done with iterating through the
21       @rename_map, translate with the first match. Translation is redone
22       untill no match is found.
23
24       "SVK::Editor::Rename" is a subclass of "SVK::Editor::Patch", which
25       serailizes incoming editor calls. Each baton opened is recorded in
26       "$self-"{opened_baton}>, which could be use to lookup with path names.
27
28       When a path is opened that should be renamed, it's recorded in
29       "$self-"{renamed_anchor}> for reanchoring the renamed result to proper
30       parent directory before calls are emitted to $next_editor.
31
32
33
34perl v5.30.0                      2019-07-26            SVK::Editor::Rename(3)
Impressum