From c740abb3f891cbd3529ae1dfc1b8525ee482bae7 Mon Sep 17 00:00:00 2001 From: Giovanni Harting <539@idlegandalf.com> Date: Wed, 12 Aug 2020 09:57:09 +0200 Subject: [PATCH] added git clean before update --- master.py | 1 + 1 file changed, 1 insertion(+) diff --git a/master.py b/master.py index 535d9a0..51fb60e 100644 --- a/master.py +++ b/master.py @@ -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("..")