Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
open-source
hggitforge
Commits
62b4d4c14962
Commit
39fc1ad9
authored
Oct 13, 2020
by
Elouan Martinet
Browse files
Fix hg clone failing when phases.new-commit=secret
parent
1a349699dd78
Changes
1
Hide whitespace changes
Inline
Side-by-side
hggithub.py
View file @
62b4d4c1
...
...
@@ -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
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment