1SVK::Editor::Copy(3) User Contributed Perl Documentation SVK::Editor::Copy(3)
2
3
4
6 SVK::Editor::Copy - Turn editor calls to calls with history
7
9 $editor = SVK::Editor::Copy->new
10 ( _editor => [$next_editor],
11 copyboundry_root => $root,
12 copyboundry_rev => \@possible_rev,
13 src => $src,
14 dst => $dst,
15 cb_resolve_copy => sub {},
16 );
17
19 This is the magic editor that turns a series of history-unaware editor
20 calls into history-aware ones. The main Subversion tree delta API
21 "SVN::Repos::dir_delta" generates "expanded" editor calls, mainly to be
22 used for editors for writing to checkout or showing diff. However,
23 it's desired to have history-aware editor calls for the purpose of
24 replaying revisions which have copies, or displaying diff for copy-
25 then-modified files.
26
27 copyboundry_rev contains an array of possible points to be used as
28 copyfrom rev to be resolved. but the logic should be moved to the
29 resolver.
30
31
32
33perl v5.32.0 2020-07-28 SVK::Editor::Copy(3)