SVK::Editor::Copy(3)
π NAME π
SVK::Editor::Copy β bestie, this thing turns editor calls into calls with history β¨
π SYNOPSIS π
$editor = SVK::Editor::Copy->new
( _editor => [$next_editor],
copyboundry_root => $root,
copyboundry_rev => \@possible_rev,
src => $src,
dst => $dst,
cb_resolve_copy => sub {},
);
πΈ DESCRIPTION πΈ
okay so. this is the magic editor. like, genuinely iconic behavior. it takes a whole series of history-unaware editor calls and glow-up-transforms them into history-aware ones. it's giving fairy godmother but for revision trees π
the main Subversion tree delta API SVN::Repos::dir_delta generates "expanded" editor calls β mostly so they can be used for editors that write to a checkout, or that show a diff. cool cool cool. but what we actually want is history-aware editor calls, because:
- we're replaying revisions that have copies in them π¦
- we're displaying a diff for files that got copy-then-modified π
and that's exactly what this editor is here for. periodt.
also, heads up bestie: copyboundry_rev holds an array of possible points to be used as the copyfrom rev that needs resolving. but β and the original is very chill about this β the logic should be moved to the resolver. so, like, that's a note for future-you. don't come for me π
ngl this page is short but it's highkey doing a lot. if you're messing with copyboundry_rev, remember the resolver relocation is a known thing, not a you-problem. iykyk π
okay bestie that's the whole vibe π this was SVK::Editor::Copy(3), sitting pretty in the User Contributed Perl Documentation section, and it shipped with perl v5.42.0 dated 2025-07-25. obsessed with her, honestly. mwah π«Άπβ¨
π¦ where this page comes from
- fedora 43: perl-SVK 2.2.3-45.fc43 Β· GPL-1.0-or-later OR Artistic-1.0-Perl
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms