Cygport Reference Manual

### TABLE OF CONTENTS

- svn.cygclass

- SVN_URI
- SVN_BRANCH
- SVN_REV
- SVN_DATE

## svn.cygclass

[ Top ] [ Cygclasses ] [ Cygclasses ]

SYNOPSIS

      SVN_URI="..."
      [SVN_BRANCH="..."]
      [SVN_DATE="..."]
      [SVN_REV="..."]
      inherit svn

DESCRIPTION

Subversion is a centralized version control system, designed to be mostly compatible with CVS while adding some new features and avoiding some of CVS' limitations. It is still widely used.

This cygclass creates source tarballs from Subversion checkouts.

NOTE

This cygclass sets a special SRC_URI for the tarball it creates. If additional sources are required, be sure to _add_ to SRC_URI rather than outright setting it.

REQUIRES

subversion

## SVN_URI

[ Top ] [ svn.cygclass ] [ Variables ]

DESCRIPTION

Address of the Subversion repository. This must be set before inherit()ing svn.cygclass.

NOTE

While a Subversion repository URI can include the desired branch or tag, for these purposes it is usually best to use the repository top-level (which customarily includes the folders branch/, tags/, and trunk/) as the SVN_URI, and the desired branch or tag subdirectory as the SVN_BRANCH.

## SVN_BRANCH

[ Top ] [ svn.cygclass ] [ Variables ]

DESCRIPTION

The branch or tag subdirectory to be downloaded relative to SVN_URI, such as "branches/some_feature" or "tags/X.Y.Z".

This must be set before inherit()ing svn.cygclass. If undefined, the "trunk" branch will be used.

## SVN_REV

[ Top ] [ svn.cygclass ] [ Variables ]

DESCRIPTION

The revision number to be downloaded. If undefined, the latest revision from the given SVN_BRANCH will be used.

## SVN_DATE

[ Top ] [ svn.cygclass ] [ Variables ]

DESCRIPTION

The revision date to be downloaded. Preferred form is YYYY-MM-DD [HH:MM], where the time is optional; the hyphens in the date can be omitted.

NOTE

If a date is specified without a time, then the time 00:00 is implied, which will exclude all revisions made on the given date. Use the following day in SVN_DATE instead.