svn-do(1)

svn-do1

Export a source and run a command inside the source.

Usage

svn-do COMMAND

Overview

svn-do will use svn-buildpackage to export a source, run a command inside the exported source and, if the command succeeds, copy back the debian/ tree

Examples

clean the tree (useful if this requires the full source tree)

$ svn-do debclean
I: Exporting source tree via svn-buildpackage...
[...]
I: Running command: debclean
[...]
I: Copying back the debian/ tree...
'debian/control' -> 'path/package/debian/control'

use quilt to refresh a patch

$ QUILT_PATCHES=debian/patches svn-do \
 sh -c "quilt push 002_static-linking-dont-build-perf.patch; \
 quilt refresh"
[...]
I: Copying back the debian/ tree...
[...]
'debian/patches/002_static-linking-dont-build-perf.patch' ->
'/path/package/debian/patches/002_static-linking-dont-build-perf.patch'

Start a source editing session and decide later not to copy back the debian/ tree

$ svn-do $SHELL
[...]
I: Running command: /bin/zsh
% exit 1
E: command exited with 1; not copying back the debian/ tree.

Releases

8 releases since Debian 6.0 (Squeeze); the text changed 5 times.

  1. 6.0
  2. 7
  3. 8
  4. 9–11
  5. 12
  6. 13

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

From svn-buildpackage 0.8.10 in Debian 13 (Trixie). Parsed by carta from the page's man source.