# tSVNLogInput

Retrieves the information of a specified revision or range of revisions from an SVN repository.

## tSVNLogInput Standard properties

These properties are used to configure tSVNLogInput running in the Standard Job framework.

The Standard tSVNLogInput component belongs to the Internet family.

The component in this framework is available in all Talend products.

## Basic settings

| Properties | Description |
| --- | --- |
| URL | Type in the URL to the SVN repository to be accessed. |
| Need authentication? | Select this check box if authentication is needed to access the SVN<br>repository. |
| Username and Password | Enter the username and password to access the SVN repository if<br>authentication is needed.<br><br>To enter the password, click the [...] button<br>next to the password field, enter the password in double quotes in the pop-up dialog box,<br>and click OK to save the settings.<br><br>These two fields appear only when the Need<br>authentication? check box is selected. |
| From revision | Specify a start revision number of the revision range. |
| Only this revision | Select this check box if you need to retrieve the information of only the<br>revision specified in the From revision<br>field. |
| To revision | Specify an end revision number of the revision range. Enter *'HEAD'* for the latest revision.<br><br>This field disappears when the Only this<br>revision check box is selected. |
| Schema and Edit schema | A schema is a row description, it defines the fields to be processed and<br>passed on to the next component.<br><br>The schema of this component is read-only. It describes the properties of<br>the revision information. You can click the [...] button next to Edit<br>schema to view the predefined schema which contains the<br>following fields:<br><br><ul> <li> <p> <span>revision</span>: the revision number of                              the log message.</p> </li> <li> <p> <span>author</span>: the author who commits the                              log message.</p> </li> <li> <p> <span>date</span>: the date when the log                              message was committed.</p> </li> <li> <p> <span>message</span>: the content of the log                              message.</p> </li> <li> <p> <span>nb_file_added</span>: the number of added                              files.</p> </li> <li> <p> <span>nb_file_modified</span>: the number of                              modified files.</p> </li> <li> <p> <span>nb_file_deleted</span>: the number of                              deleted files.</p> </li> </ul> |

## Advanced settings

| Properties | Description |
| --- | --- |
| tStatCatcher Statistics | Select this check box to gather the Job processing metadata at a Job<br>level as well as at each component level. |

## Global Variables

| Variables | Description |
| --- | --- |
| Global Variables | NB\_LINE:<br>the number of rows processed. This is an After variable and it returns an integer.<br><br><br>ERROR\_MESSAGE: the error message generated by the<br>component when an error occurs. This is an After variable and it returns a string. This<br>variable functions only if the Die on error checkbox is<br>cleared, if the component has this checkbox.<br><br>A Flow variable functions during the execution of a component<br>while an After variable functions after the execution of the component.<br><br>To fill up a field or expression with a variable, press Ctrl+Space to access the variable list and choose the variable to use from<br>it.<br><br>For more information about variables, see [Using contexts and variables](https://help.qlik.com/talend/r/en-US/8.0/studio-user-guide/contexts-and-variables). |

## Usage

| Usage guidance | Description |
| --- | --- |
| **Usage rule** | This component is usually used as a start component in a Job and it needs<br>an output link. |
| Connections | Outgoing links (from this component to another):<br><br><br>Row: Main, Iterate<br><br><br>Trigger: On Subjob Ok, On Subjob Error, Run<br>if, On Component Ok, On Component Error<br><br>Incoming links (from one component to this one):<br><br><br>Row: Main, Iterate<br><br><br>Trigger: On Subjob Ok, On Subjob Error, Run<br>if, On Component Ok, On Component Error<br><br>For further information about connections, see [Using connections in a Job](https://help.qlik.com/talend/r/en-US/8.0/studio-user-guide/using-connections-in-job). |

**Related concepts**

* [Retrieving a log message from an SVN repository](https://help.qlik.com/talend/en-US/components/8.0/svnlog/tsvnloginput-tlogrow-retrieving-log-message-from-svn-repository-standard-component "This scenario describes a two-component Job that retrieves the information of a specified revision from an SVN repository, and displays the information on the console.")