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():
|
if not (wc / ".svn").exists():
|
||||||
logger.info("Checking out SVN WC for %s …", svn_branch)
|
logger.info("Checking out SVN WC for %s …", svn_branch)
|
||||||
wc.mkdir(parents=True, exist_ok=True)
|
wc.mkdir(parents=True, exist_ok=True)
|
||||||
_run_svn(["checkout", svn_url, str(wc)], timeout=300,
|
_run_svn(["checkout", "--ignore-externals", svn_url, str(wc)],
|
||||||
auth_args=auth_args)
|
timeout=300, auth_args=auth_args)
|
||||||
else:
|
else:
|
||||||
logger.debug("Updating SVN WC for %s …", svn_branch)
|
logger.debug("Updating SVN WC for %s …", svn_branch)
|
||||||
_run_svn(["revert", "-R", "."], timeout=120, wc=wc)
|
_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
|
return wc
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user