SVK::Merge - Merge context class


SVK documentation  | view source Contained in the SVK distribution.

Index


NAME

Top

SVK::Merge - Merge context class

SYNOPSIS

Top

  use SVK::Merge;

  SVK::Merge->auto (repos => $repos, src => $src, dst => $dst)->run ($editor, %cb);

DESCRIPTION

Top

The SVK::Merge class is for representing merge contexts, mainly including what delta is used for this merge, and what target the delta applies to.

Given the 3 SVK::Path objects:

src
dst
base

SVK::Merge will be applying delta (base, src) to dst.

CONSTRUCTORS

Top

new

Takes parameters the usual way.

auto

Like new, but the base object will be found automatically as the nearest ancestor of src and dst.

METHODS

Top

info

Return a string about how the merge is done.

run

Given the storage editor and SVK::Editor::Merge callbacks, apply the merge to the storage editor. Returns the number of conflicts.

TODO

Top

Document the merge and ticket tracking mechanism.

SEE ALSO

Top

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


SVK documentation  | view source Contained in the SVK distribution.