---
name: "App::KGB::Client::Subversion"
section: "3pm"
platform: "linux"
package: "kgb-client"
version: "1.61-1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/App::KGB::Client::Subversion"
---

# App::KGB::Client::Subversion(3pm)

KGB interface to Subversion

## 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;
```

## DESCRIPTION

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

## CONSTRUCTOR

### new ( { initializers } )

Standard constructor. Accepts inline hash with initial field values.

## 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**.
