From e20a1c7baf40be1dfde457fe2310ed0a946bd74f Mon Sep 17 00:00:00 2001 From: LeRatierBretonnier Date: Wed, 24 Jun 2026 10:14:27 +0200 Subject: [PATCH] fix: add --ignore-externals to svn checkout/update (unrelated repo) --- svn_mirror/git_to_svn.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/svn_mirror/git_to_svn.py b/svn_mirror/git_to_svn.py index a9c21de..c9bc1d7 100644 --- a/svn_mirror/git_to_svn.py +++ b/svn_mirror/git_to_svn.py @@ -125,12 +125,12 @@ def _ensure_wc(mirror: Mirror, svn_branch: str): if not (wc / ".svn").exists(): logger.info("Checking out SVN WC for %s …", svn_branch) wc.mkdir(parents=True, exist_ok=True) - _run_svn(["checkout", svn_url, str(wc)], timeout=300, - auth_args=auth_args) + _run_svn(["checkout", "--ignore-externals", svn_url, str(wc)], + timeout=300, auth_args=auth_args) else: logger.debug("Updating SVN WC for %s …", svn_branch) _run_svn(["revert", "-R", "."], timeout=120, wc=wc) - _run_svn(["update"], timeout=120, wc=wc) + _run_svn(["update", "--ignore-externals"], timeout=120, wc=wc) return wc