'\" t .\" Title: svn-do .\" Author: Eduard Bloch .\" Generator: DocBook XSL Stylesheets vsnapshot .\" Date: May 2009 .\" Manual: Command reference .\" Source: Release: 0.8.2 .\" Language: English .\" .TH "SVN\-DO" "1" "May 2009" "Release: 0.8.2" "Command reference" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" svn-do \- export a source and run a command inside the source\&. .SH "SYNOPSIS" .HP \w'\fBsvn\-do\ COMMAND\fR\ 'u \fBsvn\-do COMMAND\fR .SH "DESCRIPTION" .PP \fBsvn\-do\fR will use \fBsvn\-buildpackage\fR to export a source, run a command inside the exported source and, if the command succeeds, copy back the debian/ tree .SH "EXAMPLES" .PP clean the tree (useful if this requires the full source tree) .sp .if n \{\ .RS 4 .\} .nf $ svn\-do debclean I: Exporting source tree via svn\-buildpackage\&.\&.\&. [\&.\&.\&.] I: Running command: debclean [\&.\&.\&.] I: Copying back the debian/ tree\&.\&.\&. \*(Aqdebian/control\*(Aq \-> \*(Aqpath/package/debian/control\*(Aq .fi .if n \{\ .RE .\} .PP use \fBquilt\fR to refresh a patch .sp .if n \{\ .RS 4 .\} .nf $ QUILT_PATCHES=debian/patches svn\-do \e sh \-c "quilt push 002_static\-linking\-dont\-build\-perf\&.patch; \e quilt refresh" [\&.\&.\&.] I: Copying back the debian/ tree\&.\&.\&. [\&.\&.\&.] \*(Aqdebian/patches/002_static\-linking\-dont\-build\-perf\&.patch\*(Aq \-> \*(Aq/path/package/debian/patches/002_static\-linking\-dont\-build\-perf\&.patch\*(Aq .fi .if n \{\ .RE .\} .PP Start a source editing session and decide later not to copy back the debian/ tree .sp .if n \{\ .RS 4 .\} .nf $ svn\-do $SHELL [\&.\&.\&.] I: Running command: /bin/zsh % exit 1 E: command exited with 1; not copying back the debian/ tree\&. .fi .if n \{\ .RE .\} .PP edit a patch in a CDBS\*(Aq simple\-patchsys based package .sp .if n \{\ .RS 4 .\} .nf $ svn\-do cdbs\-edit\-patch 02_pmount\&.patch [\&.\&.\&.] .fi .if n \{\ .RE .\} .SH "SEE ALSO" .PP \fB/usr/share/doc/svn-buildpackage/\fR() .RS 4 The svn\-buildpackage HOWTO manual .RE .PP \fBsvn-inject\fR(1) .RS 4 puts a Debian source package into Subversion repository .RE .PP \fBsvn-upgrade\fR(1) .RS 4 upgrade source package from a new upstream revision .RE .PP \fBsvn\fR(1) .RS 4 Subversion command line client tool .RE .PP \fBdpkg-buildpackage\fR(1) .RS 4 Debian source package tools .RE .PP \fBlintian\fR(1) .RS 4 Debian package checker .RE .SH "AUTHORS" .PP \fBEduard Bloch\fR .RS 4 This manual page was written by Eduard Bloch in roff\&. .RE .PP \fBGoneri Le Bouder\fR .RS 4 Converted manpages to SGML\&. .RE .PP \fBNeil Williams\fR .RS 4 Converted manpages to DocBook XML and current Debian maintainer .RE .SH "COPYRIGHT" .br Copyright \(co 2009 Eduard Bloch .br