added git clean before update
This commit is contained in:
@@ -121,6 +121,7 @@ def update_git2svn():
|
|||||||
check=True, capture_output=True))
|
check=True, capture_output=True))
|
||||||
else:
|
else:
|
||||||
os.chdir(config["basedir"]["svn2git"])
|
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))
|
logging.debug(subprocess.run(["git", "pull"], check=True, capture_output=True))
|
||||||
os.chdir("..")
|
os.chdir("..")
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user