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.
1 parent 5f68a3c commit 48d2fd7Copy full SHA for 48d2fd7
testing/test_mercurial.py
@@ -77,6 +77,9 @@ def test_hg_command_from_env(
77
m.setenv("SETUPTOOLS_SCM_HG_COMMAND", hg_exe)
78
m.setenv("PATH", str(wd.cwd / "not-existing"))
79
wd.write("pyproject.toml", "[tool.setuptools_scm]")
80
+ # Use the configured hg command for test operations
81
+ wd.add_command = f"{hg_exe} add ."
82
+ wd.commit_command = f'{hg_exe} commit -m test-{{reason}} -u test -d "0 0"'
83
# Need to commit something first for versioning to work
84
wd.commit_testfile()
85
version = wd.get_version()
0 commit comments