The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

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

AUTHORS

Chia-liang Kao <clkao@clkao.org>

COPYRIGHT

Copyright 2003-2004 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