Accurev:从其他流中提取代码的脚本

Accurev: scripts to pull code from other streams

我有一个在项目中共享的核心代码源。我想要一个脚本,当 'parent' 创建了一个工作区时,children 也创建了它们的工作区。

这将帮助开发人员不错过任何参考资料。

感谢您的帮助。

编辑:解决方案:

我创建了一个 windows CL 批处理

效果很好

这是我提出的解决方案的示例。它缺少诸如 updating a dependency WS creation if it already exits 之类的项目。 ……

我在 'parent' 流中创建了一个 bat 文件。然后命令(在 bat 文件中)是 运行 获取子项。

示例:

IF NOT EXIST [filesystem location for stream] 
(accurev mkws -w [stream name] -b [stream name] -l [location to put the stream]  accurev pop -O -R -L [location to put the stream]) 
else  @echo ~[stream name] already exists