---
name: "svn-upgrade"
section: "1"
platform: "linux"
package: "svn-buildpackage"
version: "0.8.10"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/svn-upgrade"
---

# svn-upgrade(1)

upgrade source package from a new upstream revision

## NAME

svn-upgrade - upgrade source package from a new upstream revision

## SYNOPSIS

**svn-upgrade newsource \[options\]**

## DESCRIPTION

**svn-upgrade** 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

**svn-upgrade** 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)](/svn/1.md)

Subversion command line client tool

[**svn-buildpackage**(1)](/svn-buildpackage/1.md)

build Debian packages from SVN repository

## AUTHORS

**Eduard Bloch**

This manual page was written by Eduard Bloch in roff.

**Goneri Le Bouder**

Converted manpages to SGML.

**Neil Williams**

Converted manpages to DocBook XML and current Debian maintainer

## COPYRIGHT

Copyright © 2009 Eduard Bloch\
