[Checkins] SVN: gocept.bsquare/trunk/update-config.py added --non-interactive, removed a debugging print

Adam Groszer agroszer at gmail.com
Wed May 13 04:17:27 EDT 2009


Log message for revision 99885:
  added --non-interactive, removed a debugging print

Changed:
  U   gocept.bsquare/trunk/update-config.py

-=-
Modified: gocept.bsquare/trunk/update-config.py
===================================================================
--- gocept.bsquare/trunk/update-config.py	2009-05-13 06:55:18 UTC (rev 99884)
+++ gocept.bsquare/trunk/update-config.py	2009-05-13 08:17:26 UTC (rev 99885)
@@ -21,6 +21,7 @@
 import subprocess
 
 SVNBIN = 'svn'
+#SSL certificate you still need to accept by 'hand'
 #usually authentication will be cached by svn, in case not fill in below
 SVNUSER = ''
 SVNPASS = ''
@@ -28,7 +29,8 @@
 is_win32 = sys.platform == 'win32'
 
 def system(command, input=''):
-    print command
+    #enable for debugging
+    #print command
 
     p = subprocess.Popen(command,
                          shell=True,
@@ -73,7 +75,7 @@
     else:
         svnpass = ''
 
-    return system("svn ls %s%s%s" % (url, svnuser, svnpass))
+    return system("svn ls --non-interactive %s%s%s" % (url, svnuser, svnpass))
 
 def main():
     if len(sys.argv) < 3:



More information about the Checkins mailing list