Commit 6cb070f1 authored by Laurent Peuch's avatar Laurent Peuch
Browse files

refactor: remove useless hglib dependancy

parent b9d564390633
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
......
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