1SVK::Mirror(3)        User Contributed Perl Documentation       SVK::Mirror(3)
2
3
4

NAME

6       SVK::Mirror -
7

SYNOPSIS

9           # setup a new mirror
10           my $mirror = SVK::Mirror->create( { backend => 'SVNRa',  url => 'http://server/',
11                                               backend_options => {}, repos => $repos, path => '/mirror' } );
12           # load existing mirror
13           my $existing = SVK::Mirror->load( { path => $path, repos => $repos } );
14
15           $mirror->mirror_changesets();
16
17           $mirror->traverse_changesets( sub { $revs_to_mirror++ } );
18

DESCRIPTION

20       create
21       load
22
23   METHODS
24       detach
25       bootstrap
26       relocate($newurl)
27       with_lock($code)
28       find_changeset($localrev)
29           Returns an opaque object that "sync_changeset" understands.
30
31       find_rev_from_changeset($remote_identifier)
32       traverse_new_changesets($code)
33           calls $code with an opaque object and metadata that
34           "sync_changeset" understands.
35
36       sync_changeset($changeset, $metadata)
37       mirror_changesets
38       get_commit_editor
39       url
40
41
42
43perl v5.32.0                      2020-07-28                    SVK::Mirror(3)
Impressum