NAME

SVK::Merge::Info - Container for merge ticket information

SYNOPSIS

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

DESCRIPTION

An SVK::Merge::Info object represents a collection of merge tickets, including repository UUID, path and revision.

CONSTRUCTORS

new

Takes a single argument with the value of an "svk:merge" property.

METHODS

add_target

Add a single SVK::Target::Universal or SVK::Path to the collection of merge tickets.

del_target

Remove a single SVK::Target::Universal or SVK::Path from the collection of merge tickets.

remove_duplicated

Takes a single SVK::Merge::Info object as an argument. Removes merge tickets which are present in the argument and for which the argument's revision is less than or equal to our revision.

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, returns false.

union

Return a new SVK::Merge::Info object representing the union of ourself and the SVK::Merge::Info object given as the argument.

resolve
verbatim
as_string

Serializes this collection of merge tickets in a form suitable for storing as an svk:merge property.

TODO

Document the merge and ticket tracking mechanism.

SEE ALSO

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