man SVK::Merge () - Merge context class

NAME

SVK::Merge - Merge context class

SYNOPSIS

  use SVK::Merge;

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

DESCRIPTION

The CWSVK::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::Target objects:

src
dst
base

CWSVK::Merge will be applying delta (CWbase, CWsrc) to CWdst.

CONSTRUCTORS

new

Takes parameters the usual way.

auto

Like new, but the CWbase object will be found automatically as the nearest ancestor of CWsrc and CWdst.

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, Star-merge from GNU Arch

AUTHORS

Chia-liang Kao <clkao@clkao.org>

COPYRIGHT

Copyright 2003-2005 by Chia-liang Kao <clkao@clkao.org>.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

See <http://www.perl.com/perl/misc/Artistic.html>