Am Dienstag, den 19.06.2012, 23:32 +0100 schrieb Neil Williams:
> On Tue, 19 Jun 2012 23:39:32 +0200
> Daniel Leidert <daniel.leid...@wgdd.de> wrote:
>  
> > After the upgrade of subversion to series 1.7 svn-do fails with
> > "E: Not in a SVN checkout" because the new subversion format seems to
> > ship only one .svn directory in the top directory and not in every
> > directory. So a layout _package_/{trunk,tags} will fail in the "trunk"
> > directory ... only _package_/.svn exists. So the check at the beginning
> > of svn-do fails.
> 
> I'd rather just remove svn-do.

Please don't. This tool is very useful for me, especially for creating
patches via quilt. Would you consider applying the attached patch
instead?

Regards, Daniel
--- /usr/bin/svn-do.orig	2010-05-23 17:48:50.000000000 +0200
+++ /usr/bin/svn-do	2012-06-20 20:12:50.000000000 +0200
@@ -50,7 +50,7 @@ case "$1" in
 esac
 done
 
-if ! [ -d .svn ]; then
+if ! `svn info > /dev/null 2>&1`; then
     echo "E: Not in a SVN checkout" >&2
     exit 1
 fi

Reply via email to