[SM-Commit] BZR Change 22 to devel sorcery by Andrew Stitt <astitt at sourcemage.org>

bzr at mail.sourcemage.org bzr at mail.sourcemage.org
Sun Apr 23 20:15:05 EDT 2006


------------------------------------------------------------
revno: 22
committer: Andrew Stitt <astitt at sourcemage.org>
branch nick: devel-hack4
timestamp: Sun 2006-04-23 17:11:10 -0700
message:
  svn should be non-interactive

=== modified file 'ChangeLog'
--- ChangeLog	
+++ ChangeLog	
@@ -1,3 +1,6 @@
+2006-04-23 Andrew Stitt <astitt at sourcemage.org>
+	* dl_handlers/dl_svn: Do no interactive prompting
+
 2006-04-21 Andrew Stitt <astitt at sourcemage.org>
 	* libsummon: fix bug 11372, bad spells can make us unlock the wrong
 	  resource, causing subsequent summons to hang. Also fix return code

=== modified file 'var/lib/sorcery/modules/dl_handlers/dl_svn'
--- var/lib/sorcery/modules/dl_handlers/dl_svn	
+++ var/lib/sorcery/modules/dl_handlers/dl_svn	
@@ -37,13 +37,13 @@
     local URL SVN_ROOT SVN_MODULE SVN_TAG
     url_crack "$url" "$hints"
 
-    local svn_args=""
+    local svn_args="--non-interactive "
     if list_find "$hints" "parse_username" ; then
       local USER_PASS=$(echo $SVN_ROOT|sed 's#.*//\(.*\)@.*#\1#')
       local SVN_ROOT=$(echo $SVN_ROOT|sed 's#//\(.*\)@#//#')
       local USER=${USER_PASS%:*};
       local PASS=${USER_PASS#*:};
-      svn_args="--username $USER --password $PASS"
+      svn_args="--username $USER --password $PASS "
     fi
 
     if test -d $target; then




More information about the SM-Commit mailing list