[pypy-svn] buildbot default: Add --clean to "hg update".

arigo commits-noreply at bitbucket.org
Sun Jan 9 13:11:45 CET 2011


Author: Armin Rigo <arigo at tunes.org>
Branch: 
Changeset: r405:29c637ddea0d
Date: 2011-01-09 13:11 +0100
http://bitbucket.org/pypy/buildbot/changeset/29c637ddea0d/

Log:	Add --clean to "hg update".

diff --git a/bot2/pypybuildbot/builds.py b/bot2/pypybuildbot/builds.py
--- a/bot2/pypybuildbot/builds.py
+++ b/bot2/pypybuildbot/builds.py
@@ -96,7 +96,7 @@
     def start(self):
         properties = self.build.getProperties()
         branch = properties['branch']
-        command = ["hg", "update", "-r", branch or 'default']
+        command = ["hg", "update", "--clean", "-r", branch or 'default']
         self.setCommand(command)
         ShellCmd.start(self)
 


More information about the Pypy-commit mailing list