We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 90f5a17 + 0622511 commit 82253c3Copy full SHA for 82253c3
src/setuptools_scm/hg_git.py
@@ -9,7 +9,6 @@
9
10
from . import _types as _t
11
from ._run_cmd import CompletedProcess as _CompletedProcess
12
-from ._run_cmd import require_command
13
from ._run_cmd import run as _run
14
from .git import GitWorkdir
15
from .hg import HgWorkdir
@@ -28,7 +27,6 @@ class GitWorkdirHgClient(GitWorkdir, HgWorkdir):
28
27
29
@classmethod
30
def from_potential_worktree(cls, wd: _t.PathT) -> GitWorkdirHgClient | None:
31
- require_command("hg")
32
res = _run(["hg", "root"], cwd=wd).parse_success(parse=Path)
33
if res is None:
34
return None
0 commit comments