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.
21 lines
605 B
21 lines
605 B
1 month ago
|
import os
|
||
|
|
||
|
# #先执行清理,再执行更新
|
||
|
# cmd = "svn cleanup \"D:/svn/DevShare\"" #cleanup
|
||
|
# os.system(cmd)
|
||
|
|
||
|
#执行更新
|
||
|
|
||
|
cmd = "svn up \"D:\client_workspace\pandora\pandora_cli_proj\" --non-interactive" #更新svn
|
||
|
os.system(cmd)
|
||
|
|
||
|
#cmd = "svn add \"D:/svn/DevShare\" --force" #添加文件
|
||
|
#cmd = "svn commit \"D:/svn/DevShare\" -m 'Auto_Commit'" #提交文件
|
||
|
#os.system(cmd)
|
||
|
|
||
|
#有视图svn更新
|
||
|
# cmd = 'TortoiseProc.exe /command:update /path:"D:/svn/DevShare"'
|
||
|
#os.system(cmd)
|
||
|
|
||
|
cmd = "svn up \"D:\client_workspace\pandora\pandora_share_proj\" --non-interactive" #更新svn
|
||
|
os.system(cmd)
|