SVK::Merge::Info(3)

πŸ“¦
version 2.2.3 Β· 2 versions
, in fedora 43

πŸ’– SVK::Merge::Info πŸ’–

okay bestie so this is SVK::Merge::Info from the User Contributed Perl Documentation β€” it's a whole vibe, it's a container for merge ticket info, and yes we're gonna read the whole thing together, no skimming, i got you 🫢


✨ NAME ✨

SVK::Merge::Info β€” literally just a container for merge ticket information. that's the whole job. she holds things. πŸ‘‘


🌸 SYNOPSIS 🌸

use SVK::Merge::Info;
my $minfo = SVK::Merge::Info->new( $svk_merge_property );

see? three lines. we love a low-effort entrance πŸ’…


πŸ¦‹ DESCRIPTION πŸ¦‹

so an SVK::Merge::Info object is basically a lil collection of merge tickets, and that collection includes the repository UUID, the path, and the revision. that's it. that's the girl. πŸŽ€


🌈 CONSTRUCTORS 🌈

⭐ new

takes a single argument whose value is the svk:merge property. one arg, that's the deal, don't overthink it ✨


πŸ’… METHODS πŸ’…

  • add_target β€” adds a single SVK::Target::Universal or SVK::Path into the collection of merge tickets. one at a time, bestie, we're adding πŸ’–
  • del_target β€” removes a single SVK::Target::Universal or SVK::Path from the collection of merge tickets. the opposite of the last one, iconic behavior 😌
  • remove_duplicated β€” takes a single SVK::Merge::Info object as an argument. it removes merge tickets that are present in the argument and for which the argument's revision is less than or equal to our revision. like, if theirs is older-or-equal, ours wins, bye πŸ‘‹
  • subset_of β€” takes a single SVK::Merge::Info object as an argument. returns true if our set of merge tickets is a subset of the argument's merge tickets. otherwise it returns false. simple as πŸ“
  • is_equal β€” takes a single SVK::Merge::Info object as an argument. returns true if our set of merge tickets is equal to the argument's. otherwise, false. twin behavior fr fr 🫢
  • union β€” returns a new SVK::Merge::Info object representing the union of ourself and the SVK::Merge::Info object handed in as the argument. both of us, together, in one new object 🌸
  • resolve β€” (no description in the source, she's just standing there being mysterious πŸ’€)
  • verbatim β€” (also no description. quiet queen. πŸ™ˆ)
  • as_string β€” serializes this collection of merge tickets into a form that's suitable for storing as an svk:merge property. basically she turns the whole vibe into a string so you can save it πŸ’Ύβœ¨

πŸ‘‘ TODO πŸ‘‘

document the merge and ticket tracking mechanism. that's it. that's the todo. someone pls get on that 😭


πŸ”₯ SEE ALSO πŸ”₯

  • SVK::Editor::Merge
  • SVK::Command::Merge
  • Star-merge from GNU Arch

and that's a wrap bestie!! πŸŽ€ this was perl v5.42.0, dated 2025-07-25, and it's SVK::Merge::Info(3) β€” go forth and merge responsibly, ily, mwah πŸ’œπŸ¦‹

πŸ“¦ where this page comes from