[Buildbot-commits] buildbot/contrib darcs_buildbot.py,1.4,1.5
Brian Warner
warner at users.sourceforge.net
Sun Aug 12 19:42:24 UTC 2007
Update of /cvsroot/buildbot/buildbot/contrib
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv8747/contrib
Modified Files:
darcs_buildbot.py
Log Message:
[project @ darcs_buildbot.py: when files are renamed, include the dest filename in the Change. Closes #31]
Original author: warner at lothar.com
Date: 2007-08-12 19:41:30+00:00
Index: darcs_buildbot.py
===================================================================
RCS file: /cvsroot/buildbot/buildbot/contrib/darcs_buildbot.py,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- darcs_buildbot.py 20 Jan 2007 10:18:49 -0000 1.4
+++ darcs_buildbot.py 12 Aug 2007 19:42:22 -0000 1.5
@@ -45,6 +45,10 @@
if filenode.nodeName in ("add_file", "modify_file", "remove_file"):
filename = getText(filenode).strip()
files.append(filename)
+ elif filenode.nodeName == "move":
+ from_name = filenode.getAttribute("from")
+ to_name = filenode.getAttribute("to")
+ files.append(to_name)
# note that these are all unicode. Because PB can't handle unicode, we
# encode them into ascii, which will blow up early if there's anything we
More information about the Commits
mailing list