[Buildbot-commits] buildbot/contrib svn_buildbot.py,1.12,1.13

Brian Warner warner at users.sourceforge.net
Mon Sep 25 08:01:25 UTC 2006


Update of /cvsroot/buildbot/buildbot/contrib
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv24670/contrib

Modified Files:
	svn_buildbot.py 
Log Message:
[project @ svn_buildbot.py: strip *4* chars, not 6. Closes SF#1545146]

Original author: warner at lothar.com
Date: 2006-09-25 08:00:49

Index: svn_buildbot.py
===================================================================
RCS file: /cvsroot/buildbot/buildbot/contrib/svn_buildbot.py,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -d -r1.12 -r1.13
--- svn_buildbot.py	2 Jun 2006 15:54:56 -0000	1.12
+++ svn_buildbot.py	25 Sep 2006 08:01:23 -0000	1.13
@@ -145,8 +145,8 @@
         changed = commands.getoutput('svnlook changed %s "%s"' % (rev_arg,
                                                                   repo)
                                      ).split('\n')
-        # the first 6 columns can contain status information
-        changed = [x[6:].strip() for x in changed]
+        # the first 4 columns can contain status information
+        changed = [x[4:] for x in changed]
 
         message = commands.getoutput('svnlook log %s "%s"' % (rev_arg, repo))
         who = commands.getoutput('svnlook author %s "%s"' % (rev_arg, repo))





More information about the Commits mailing list