summaryrefslogtreecommitdiff
path: root/testing
diff options
context:
space:
mode:
Diffstat (limited to 'testing')
-rw-r--r--testing/buildbot.yml5
1 files changed, 4 insertions, 1 deletions
diff --git a/testing/buildbot.yml b/testing/buildbot.yml
index 9ae341aa..b912bc87 100644
--- a/testing/buildbot.yml
+++ b/testing/buildbot.yml
@@ -18,7 +18,10 @@
apt: pkg=mercurial
- name: create .hgrc if necessary
- file: path={{ hgrc }} owner={{ botuser }} state=touch
+ stat: path={{ hgrc }}
+ register: st
+ - file: path={{ hgrc }} owner={{ botuser }} state=touch
+ when: not st.stat.exists
- name: enable mercurial purge extension
ini_file: dest={{ hgrc }} backup=yes
section=extensions option=hgext.purge