The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

SVN::Simple::Edit - A simple interface for driving svn delta editors

SYNOPSIS

my $edit = SVN::Simple::Edit->new (_editor => SVN::Repos::get_commit_editor($repos, "file://$repospath", '/', 'root', 'FOO', \&committed));

$edit->open_root(0);

$edit->add_directory ('trunk');

$edit->add_file ('trunk/filea');

$edit->copy_directory ('branches/a, trunk, 0);

$edit->modify_file ("trunk/fileb", "content", $checksum);

DESCRIPTION

SVN::Simple::Edit wraps the subversion delta editor with a perl friendly interface and then you could easily drive it for describing changes to a tree. A common usage is to wrap the commit editor, so you could make committs to a subversion tree easily.

This also means you can not supply the $edit object as an delta_editor to other API. and that's why it's called Edit instead of Editor. see SVN::Simple::Editor for simple interface implementing a delta editor.

close all directories and files gracefully upon close_edit and abort_edit

AUTHORS

Chia-liang Kao <clkao@clkao.org>

COPYRIGHT

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