App::KGB::Client::Subversion - KGB interface to Subversion
Contents
Constructor
new({initializers})
Standard constructor. Accepts inline hash with initial field values.
Description
App::KGB::Client::Subversion provides Subversion-specific retrieval of commits and changes for
App::KGB::Client.
Fields
App:KGB::Client::Subversion defines two additional fields:
repo_path (mandatory)
Physical path to Subversion repository.
revision
The revision about which to notify. If omitted defaults to the last revision of the repository.
Methods
describe_commit
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.
perl v5.40.0 2024-09-20 App::KGB::Client::Subversion(3pm)
Name
App::KGB::Client::Subversion - KGB interface to Subversion
Synopsis
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;
