DOKK / manpages / debian 11 / kgb-client / App::KGB::Client::Subversion.3pm.en
App::KGB::Client::Subversion(3pm) User Contributed Perl Documentation App::KGB::Client::Subversion(3pm)

App::KGB::Client::Subversion - KGB interface to Subversion

    use App::KGB::Client::Subversion;
    my $client = App::KGB::Client::Subversion(
        # common App::KGB::Client parameters
        repo_id => 'my-repo',
        ...
        # Subversion-specific
        repo_path   => '/svn/project',
        revision    => 42,
    );
    $client->run;

App::KGB::Client::Subversion provides Subversion-specific retrieval of commits and changes for App::KGB::Client.

new ( { initializers } )

Standard constructor. Accepts inline hash with initial field values.

App:KGB::Client::Subversion defines two additional fields:

Physical path to Subversion repository.
The revision about which to notify. If omitted defaults to the last revision of the repository.

The first time this method is called, it retrieves commit number and repository path from command-line parameters and returns an instance of App::KGB::Commit class describing the commit.

All subsequential invocations return undef.

2020-11-03 perl v5.30.3