[pypy-commit] buildbot cleanup-hg-bookmarks: Tentative Windows version
arigo
pypy.commits at gmail.com
Thu Sep 7 17:05:14 EDT 2017
Author: Armin Rigo <arigo at tunes.org>
Branch: cleanup-hg-bookmarks
Changeset: r1024:da40d3078ef5
Date: 2017-09-07 23:05 +0200
http://bitbucket.org/pypy/buildbot/changeset/da40d3078ef5/
Log: Tentative Windows version
diff --git a/bot2/pypybuildbot/builds.py b/bot2/pypybuildbot/builds.py
--- a/bot2/pypybuildbot/builds.py
+++ b/bot2/pypybuildbot/builds.py
@@ -346,7 +346,8 @@
# the local checkout. So, manually clean it up.
factory.addStep(ShellCmd(
description="cleanup bookmarks",
- command=["rm", "-f", ".hg/bookmarks"],
+ command=["rm", "-f", ".hg/bookmarks"] if platform != 'win32'
+ else ["if exist .hg/bookmarks del .hg/bookmarks"],
workdir=workdir,
haltOnFailure=False,
))
More information about the pypy-commit
mailing list