added git clean before update

This commit is contained in:
2020-08-12 09:57:09 +02:00
parent f616606269
commit c740abb3f8

View File

@@ -121,6 +121,7 @@ def update_git2svn():
check=True, capture_output=True))
else:
os.chdir(config["basedir"]["svn2git"])
logging.debug(subprocess.run(["git", "clean", "-xdf"], check=True, capture_output=True))
logging.debug(subprocess.run(["git", "pull"], check=True, capture_output=True))
os.chdir("..")