[Buildbot-commits] buildbot/buildbot/test test_vc.py,1.31,1.32

Brian Warner warner at users.sourceforge.net
Sat Jun 18 03:35:27 UTC 2005


Update of /cvsroot/buildbot/buildbot/buildbot/test
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14997/buildbot/test

Modified Files:
	test_vc.py 
Log Message:
(VCSupport.__init__): svn --version changed its output in 1.2.0, don't
mistakenly think that the subversion we find isn't capable of supporting our
tests.


Index: test_vc.py
===================================================================
RCS file: /cvsroot/buildbot/buildbot/buildbot/test/test_vc.py,v
retrieving revision 1.31
retrieving revision 1.32
diff -u -d -r1.31 -r1.32
--- test_vc.py	17 May 2005 10:38:10 -0000	1.31
+++ test_vc.py	18 Jun 2005 03:35:21 -0000	1.32
@@ -81,7 +81,9 @@
                 log.msg("running svn --version..")
                 v = dr(utils.getProcessOutput('svn', ["--version"],
                                               env=os.environ))
-                if v.find("handles 'file' schema") != -1:
+                if v.find("handles 'file' schem") != -1:
+                    # older versions say 'schema'. 1.2.0 and beyond say
+                    # 'scheme'.
                     self.have['svn'] = True
                 else:
                     log.msg(("%s found but it does not support 'file:' " +





More information about the Commits mailing list