From 700a10579e8ec99ebccfaa0b59705dfdefe00772 Mon Sep 17 00:00:00 2001 From: LeRatierBretonnier Date: Wed, 24 Jun 2026 11:57:58 +0200 Subject: [PATCH] fix: pass auth_args to svn update/revert in _ensure_wc --- svn_mirror/git_to_svn.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/svn_mirror/git_to_svn.py b/svn_mirror/git_to_svn.py index a78659c..19f3ce3 100644 --- a/svn_mirror/git_to_svn.py +++ b/svn_mirror/git_to_svn.py @@ -133,8 +133,8 @@ def _ensure_wc(mirror: Mirror, svn_branch: str): 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", "--ignore-externals"], timeout=120, wc=wc) + _run_svn(["revert", "-R", "."], timeout=120, wc=wc, auth_args=auth_args) + _run_svn(["update", "--ignore-externals"], timeout=120, wc=wc, auth_args=auth_args) return wc