added git clean before update
This commit is contained in:
@@ -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("..")
|
||||
|
||||
|
Reference in New Issue
Block a user