Commit 39fc1ad9 authored by Elouan Martinet's avatar Elouan Martinet
Browse files

Fix hg clone failing when phases.new-commit=secret

parent 1a349699dd78
......@@ -20,7 +20,9 @@ def git_clone(path_url, destination):
def hg_clone(path, destination):
ret_code = call(["hg", "clone", path, destination])
ret_code = call(
["hg", "clone", "--config", "phases.new-commit=draft", path, destination]
)
print(ret_code)
ret_code = call(["hg", "phase", "-p", "master"], cwd=destination)
print(ret_code)
......
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