Author: Armin Rigo <[email protected]>
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,
))
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit