svn-upgrade(1) upgrade source package from a new upstream revision


svn-upgrade newsource [options]



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.


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.


Turn off interactive mode.


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.


Run debclean before merging the new upstream source.

Tarballs must be compressed with gzip or bzip2.


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 © 2009 Eduard Bloch