&upgradepackage;

&dhsection;

&upgradepackage;

upgrade source package from a new upstream revision

          &upgradepackage; newsource [options]

## DESCRIPTION

`&upgradepackage;` modifies a Debian package source located in a Subversion repository, upgrading it to a new upstream release. The repository filesystem tree must be in the format created by `svn-inject`.

## OPTIONS

`&upgradepackage;` accepts the following options on the command-line:

`-V STRING` | `--version STRING`

- Forces a different upstream version string

  Default: Off.

`-c` | `--clean`

- Runs `make clean` and removes the `debian/` directory in the new source.

  Default: Off.

`-P STRING` | `--packagename STRING`

- Forces a different package name

  Default: Off.

`-v` | `--verbose`

- More verbose program output

  Default: Off.

`-r` | `--replay-conflicting`

- Extra cleanup run: replaces all conflicting files with upstream versions. Review of `svn status` output before doing that could make sense.

  Default: Off.

`-N` | `--noautodch`

- Upgrade without making a new changelog entry.

  Default: Make the changelog entry.

`-u` | `--uscan`

- Use `uscan` to download the new version.

`--noninteractive`

- Turn off interactive mode.

`--ignoreerrors`

- In noninteractive mode, ignore errors.

`--ignored-files-action STRING`

- Make files that are ignored due to subversion ignore patterns to be 'import'ed or 'skip'ed.

`-e` | `--auto-epoch`

- Automatically increase version epoch if the new upstream version is not greater than the current.

`--debclean`

- Run `debclean` before merging the new upstream source.

Tarballs must be compressed with `gzip` or `bzip2`.

## SEE ALSO

/usr/share/doc/svn-buildpackage/

- The svn-buildpackage HOWTO manual

svn

1

- Subversion command line client tool

svn-buildpackage

1

- build Debian packages from SVN repository