Chinaunix首页 | 论坛 | 博客
  • 博客访问: 65157
  • 博文数量: 17
  • 博客积分: 673
  • 博客等级: 中士
  • 技术积分: 150
  • 用 户 组: 普通用户
  • 注册时间: 2010-03-17 16:48
文章分类

全部博文(17)

文章存档

2012年(5)

2011年(12)

分类: LINUX

2011-09-14 16:18:30


How to Script Client Workspace Cloning
p4 client -t my_template -o foo | sed -e "s/^Owner:.*/Owner: Alice/" | sed -e "/^View:/ a \\t//Dev/..." | p4 client -i

记录些p4的使用:

p4 diff ncx_daily_report.cgi#22

p4 changes -m 5 //star-mtb/ncx-rel/main/...

p4 client -i < file 脚本化管理p4 

===============================================

在integ的时候,可以到具体目录,而不是最上层,这样更安全,轻量级。

===============================================
http://www.perforce.com/perforce/doc.current/manuals/p4guide/05_resolve.html

merge files for different branches with: p4 resolve -am ...
阅读(1764) | 评论(0) | 转发(0) |
0

上一篇:gmake notes

下一篇:linux misc

给主人留下些什么吧!~~