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 417081b commit 02af3e4Copy full SHA for 02af3e4
src/libvcs/pytest_plugin.py
@@ -653,11 +653,15 @@ def git_repo(
653
654
655
@pytest.fixture
656
-def hg_repo(projects_path: pathlib.Path, hg_remote_repo: pathlib.Path) -> HgSync:
+def hg_repo(
657
+ remote_repos_path: pathlib.Path,
658
+ projects_path: pathlib.Path,
659
+ hg_remote_repo: pathlib.Path,
660
+) -> HgSync:
661
"""Pre-made hg clone of remote repo checked out to user's projects dir."""
662
remote_repo_name = unique_repo_name(remote_repos_path=projects_path)
663
new_checkout_path = projects_path / remote_repo_name
- master_copy = projects_path / "hg_repo"
664
+ master_copy = remote_repos_path / "hg_repo"
665
666
if master_copy.exists():
667
shutil.copytree(master_copy, new_checkout_path)
0 commit comments