You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

32 lines
823 B

# -*- coding: UTF-8 -*-
import os
import sys
import shutil
cleanPathBase = "./pandora_cli_proj"
clientFolderList = ["/pandora/Assets", "/pandora/Packages","/pandora/ProjectSettings"] #
def CleanFolder():
for folder in clientFolderList:
path = cleanPathBase + folder
if os.path.exists(path):
command = "svn cleanup " + path + " --remove-unversioned"
print(command)
ret = os.system(command)
if ret != 0:
print("cleanup CleanFolder error!")
exit(1)
if __name__ == '__main__':
CleanFolder()
command = "svn cleanup ./pandora_share_proj --remove-unversioned"
print(command)
ret = os.system(command)
if ret != 0:
print("cleanup shared error!")
exit(1)
print("CleanFolder Done!")
exit(0)