Working around –non-interactive problems in Leopard’s Subversion
Apparently, the –non-interactive flag is broken in Subversion as distributed with Leopard and a fix is not yet available. Bad news for Maven users wanting to use any of the SCM tools.
Hopefully a fix will be available either through an update or a version of Subversion that can be compiled from source, but in the mean time I put this shell script ahead of svn in my PATH:
Updated 15 Mar 08: Wendy pointed out you need to chop the username too. Now it’s even more hacky.
#!/bin/sh
if [ "$1" = "--non-interactive" -o "$1" = "--username" ]; then
shift
fi
if [ "$1" = "--non-interactive" -o "$1" = "--username" ]; then
shift
fi
/usr/bin/svn "$@"
Mmm, hacky.
- BROWSE / IN TIMELINE
- « Cloned Mac migration problems? Check your permissions
- » Being reminded of the benefits of a community in open source
- BROWSE / IN Mac OS X Maven
- « Cloned Mac migration problems? Check your permissions
- » Being reminded of the benefits of a community in open source
COMMENTS / ONE COMMENT
Wendy Smoak added these pithy words on Mar 09 08 at 3:14 pmThis doesn’t quite do it for the release process, which executes “svn –username wsmoak –non-interactive commit …”
SPEAK / ADD YOUR COMMENT
Comments are moderated.


Recent Comments