Skip to content

Commit 7c35d5e

Browse files
committed
!squash svn
1 parent 02af3e4 commit 7c35d5e

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

src/libvcs/pytest_plugin.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -679,11 +679,15 @@ def hg_repo(
679679

680680

681681
@pytest.fixture
682-
def svn_repo(projects_path: pathlib.Path, svn_remote_repo: pathlib.Path) -> SvnSync:
682+
def svn_repo(
683+
remote_repos_path: pathlib.Path,
684+
projects_path: pathlib.Path,
685+
svn_remote_repo: pathlib.Path,
686+
) -> SvnSync:
683687
"""Pre-made svn clone of remote repo checked out to user's projects dir."""
684688
remote_repo_name = unique_repo_name(remote_repos_path=projects_path)
685689
new_checkout_path = projects_path / remote_repo_name
686-
master_copy = projects_path / "svn_repo"
690+
master_copy = remote_repos_path / "svn_repo"
687691

688692
if master_copy.exists():
689693
shutil.copytree(master_copy, new_checkout_path)

0 commit comments

Comments
 (0)