[Buildbot-commits] buildbot/buildbot/slave commands.py,1.84,1.85

Brian Warner warner at users.sourceforge.net
Sun Sep 30 07:24:43 UTC 2007


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

Modified Files:
	commands.py 
Log Message:
[project @ svn: ignore the trailing 'M' that indicates a modified file]

Original author: warner at lothar.com
Date: 2007-09-30 07:22:20+00:00

Index: commands.py
===================================================================
RCS file: /cvsroot/buildbot/buildbot/buildbot/slave/commands.py,v
retrieving revision 1.84
retrieving revision 1.85
diff -u -d -r1.84 -r1.85
--- commands.py	7 Aug 2007 23:50:40 -0000	1.84
+++ commands.py	30 Sep 2007 07:24:40 -0000	1.85
@@ -1511,6 +1511,9 @@
         d = c.start()
         def _parse(res):
             r = c.stdout.strip()
+            # Support for removing svnversion indicator for 'modified'
+            if r[-1] == 'M':
+                r = r[:-1]
             got_version = None
             try:
                 got_version = int(r)





More information about the Commits mailing list