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
cubicweb
cube-doctor
Commits
eeb1f3a47aa3
Commit
6cb070f1
authored
Aug 06, 2021
by
Laurent Peuch
Browse files
refactor: remove useless hglib dependancy
parent
b9d564390633
Changes
2
Hide whitespace changes
Inline
Side-by-side
cube_doctor/__init__.py
View file @
eeb1f3a4
import
os
import
json
import
hglib
import
gitlab
import
tempfile
import
subprocess
...
...
@@ -283,7 +282,7 @@ class Repository:
def
__enter__
(
self
):
self
.
temporary_directory
=
tempfile
.
TemporaryDirectory
()
self
.
path
=
Path
(
self
.
temporary_directory
.
name
)
hglib
.
clone
(
self
.
url
,
self
.
temporary_directory
.
name
)
self
.
run_command
(
f
"hg
clone
{
self
.
url
}
{
self
.
temporary_directory
.
name
}
"
)
return
self
...
...
requirements.txt
View file @
eeb1f3a4
python-gitlab
python-hglib
RedBaron
pyyaml
tox
...
...
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