文章详情

  • 游戏榜单
  • 软件榜单
关闭导航
热搜榜
热门下载
热门标签
php爱好者> php文档>clearcase create branch

clearcase create branch

时间:2009-04-30  来源:vincent-cws

#!/bin/python

import commands
import os
#modify the branch name, here e.g. 'abc', and put this script file under the vob from which you want create branch.
branch_type="your_branch_type"
print "cleartool mkbrtype -nc " + branch_type
os.system("cleartool mkbrtype -nc " + branch_type)

dirs = commands.getoutput("find .").split("\n")
#notes: the dir reference the files name, and must be enclose with "xxx xx" once within "\"" token.
for dir in dirs:
    os.system("cleartool mkbranch -nco -nc " + branch_type + " \"" + dir + "\"")
#    print "cleartool mkbranch -nco -nc " + branch_type + " \"" + dir + "\""
相关阅读 更多 +
排行榜 更多 +
2025pubg国际服最新版本

2025pubg国际服最新版本

飞行射击 下载
pubg国际服地铁逃生最新版本2025

pubg国际服地铁逃生最新版本2025

飞行射击 下载
火柴人大乱斗4游戏

火柴人大乱斗4游戏

飞行射击 下载