logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

svn-do - export a source and run a command inside the source.

Authors

EduardBloch
           This manual page was written by Eduard Bloch in roff.

       GoneriLeBouder
           Converted manpages to SGML.

       NeilWilliams
           Converted manpages to DocBook XML and current Debian maintainer

Description

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.

       edit a patch in a CDBS' simple-patchsys based package

           $ svn-do cdbs-edit-patch 02_pmount.patch
           [...]

Name

       svn-do - export a source and run a command inside the source.

See Also

/usr/share/doc/svn-buildpackage/()
           The svn-buildpackage HOWTO manual

       svn-inject(1)
           puts a Debian source package into Subversion repository

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

       svn(1)
           Subversion command line client tool

       dpkg-buildpackage(1)
           Debian source package tools

       lintian(1)
           Debian package checker

Synopsis

svn-doCOMMAND

See Also