Commit 96024251 authored by Georges Racinet's avatar Georges Racinet 🦑
Browse files

Heptapod CI: pulling py-heptapod and hgitaly from main repo

The Octobus mirror is nice, but it can be up to 10mn behind
the main repo. Moreover, these are small repos and nowadays
foss.heptapod.net is as much efficient as mirror.o.n

--HG--
branch : heptapod
parent 185dc77e39e0
Pipeline #12589 skipped with stages
......@@ -36,13 +36,12 @@ for slug, target in (('py-heptapod', PY_HEPTAPOD_CLONE_PATH),
if os.path.exists(target):
print("Updating %s clone at %s" % (slug, target))
subprocess.check_call(HG_CMD + ('-R', target, 'pull'))
subprocess.check_call(HG_CMD + ('-R', target,
'update', '-C', 'default'))
subprocess.check_call(HG_CMD + ('-R', target, 'update', '-C', 'default'))
else:
print("Cloning %s into %s" % (slug, target))
subprocess.check_call(HG_CMD + (
'clone', '-q',
'https://mirror.octobus.net/heptapod/' + slug,
'https://foss.octobus.net/heptapod/' + slug,
target,
))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment