SVK::Editor::XD(3)
π SVK::Editor::XD
okay bestie, gather round, because this one is literally the editor that touches your svk checkout copies and she is booked and busy π
Manual page for SVK::Editor::XD, living in the User Contributed Perl Documentation corner of the internet β¨
πΈ 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 π
So here's the vibe: SVK::Editor::XD modifies checkout copies that already exist, at the paths that get translated by the get_copath callback, and it does all of that according to the incoming editor calls. Meanwhile the path over in the depot gets translated with the get_path callback. Two translators, one iconic little editor, no cap π«Ά
And she has two modes, because of course she does:
- One is for applying changes to a checkout copy as an external modification, like when you're merging changes. π
- The other is update mode, which is what brings changes from the depot over to the checkout copies. π₯
π PARAMETERS π
On top of everything you'd pass to SVK::Editor::Checkout, you also get these:
targetβ the target path of the editor calls. She uses it to decide whether the root's meta data needs updating in update mode. lowkey a decision-maker πxdβ anSVK::XDobject.oldrootβ the old root, from before the editor calls happened.newrootβ the new root, from after the editor calls happened.updateβ working in update mode. yes ma'am βget_pathβ a callback that translates paths in editor calls into paths in the depot.ignore_keywordsβ don't do keyword translations (that's thesvn:keywordsproperty, iykyk).
π«Ά friendly reminder thatget_copathshows up in the synopsis and the description but not in this parameter list β she's inherited fromSVK::Editor::Checkout, so don't come for her.
and that's the whole page, bestie π
this was documented for perl v5.42.0, dated 2025-07-25, and honestly? she ate. periodt πβ¨π
π¦ 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