Skip to content

Commit fc9f708

Browse files
sync hg repo setup
1 parent 0b65b84 commit fc9f708

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

testing/test_better_root_errors.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,8 @@ def setup_hg_repo(wd: WorkDir) -> WorkDir:
3131
"""Set up a mercurial repository for testing."""
3232
try:
3333
wd("hg init")
34-
wd("hg config --local ui.username 'test <[email protected]>'")
3534
wd.add_command = "hg add ."
36-
wd.commit_command = "hg commit -m test-{reason}"
35+
wd.commit_command = 'hg commit -m test-{reason} -u test -d "0 0"'
3736
return wd
3837
except Exception:
3938
pytest.skip("hg not available")

0 commit comments

Comments
 (0)