对 Subversion 存储库进行插桩处理
假定存储库已存在且可供访问。Subversion 挂接脚本的模板位于 scmloop.zipsvn/<operating_system> 目录中 (其中 <operating_system> 为 Windows 或 Unix)。
1. 将 Subversion 存储库的 hooks 目录检出到某些工作目录。
2. 将文件从 svn/<operating_system> 复制到工作目录的 hooks 文件夹。
3. 编辑脚本:将字符串 ${scmloop}}} with the actual path of the scmloop script.
4. 在 Linux/Unix 系统中,必须确保脚本 (例如,使用命令 chmod) 是可执行的。
5. 在存储库的 conf 下创建文件 codebeamer.properties,然后向该文件添加以下行:repositoryId=,其中,repository-ID 是要与存储库关联的 Codebeamer 存储库的 ID。
6. 将变更提交至存储库。
这对您有帮助吗?