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


svn-upgrade newsource [options]


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.


svn-upgrade accepts the following options on the command-line:

Tarballs must be compressed with gzip or bzip2.

-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.



The svn-buildpackage HOWTO manual


Subversion command line client tool


build Debian packages from SVN repository