SVK::Merge.3pm

Langue: en

Version: 2008-08-05 (ubuntu - 07/07/09)

Section: 3 (Bibliothèques de fonctions)

NAME

SVK::Merge - Merge context class

SYNOPSIS

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

DESCRIPTION

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

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

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

Document the merge and ticket tracking mechanism.

SEE ALSO

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