SVK::Mirror -
# setup a new mirror my $mirror = SVK::Mirror->create( { backend => 'SVNRa', url => 'http://server/', backend_options => {}, repos => $repos, path => '/mirror' } ); # load existing mirror my $existing = SVK::Mirror->load( { path => $path, repos => $repos } ); $mirror->mirror_changesets(); $mirror->traverse_changesets( sub { $revs_to_mirror++ } );
Returns an opaque object that sync_changeset understands.
sync_changeset
calls $code with an opaque object and metadata that sync_changeset understands.
$code
To install SVK, copy and paste the appropriate command in to your terminal.
cpanm
cpanm SVK
CPAN shell
perl -MCPAN -e shell install SVK
For more information on module installation, please visit the detailed CPAN module installation guide.