fix: add --ignore-externals to svn checkout/update (unrelated repo)
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user