summaryrefslogtreecommitdiff
path: root/src/backend/setbranch.py
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-01-14 12:56:31 +0000
committerV3n3RiX <venerix@koprulu.sector>2023-01-14 12:56:31 +0000
commit451815d2c46757c3ba67f37f079a8adf094a9a2e (patch)
tree74a15fe151e005c06a04a4ba89b3a45a9493542c /src/backend/setbranch.py
parentdef1fa5301790963e7e7ae214a2df1c692f97005 (diff)
purge the download cache when switching branches
Diffstat (limited to 'src/backend/setbranch.py')
-rw-r--r--src/backend/setbranch.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/backend/setbranch.py b/src/backend/setbranch.py
index 0b013a3..ac0f99e 100644
--- a/src/backend/setbranch.py
+++ b/src/backend/setbranch.py
@@ -92,6 +92,7 @@ def giveWarning(branch, remote):
def start(branch, remote):
if sisyphus.checkenv.root():
sisyphus.purgeenv.branch()
+ sisyphus.purgeenv.cache()
sisyphus.purgeenv.metadata()
injectGentooRepo(branch, remote)
injectRedcoreRepo(branch, remote)