SVN 到 Clearcase 导出 [英] SVN to Clearcase Export

查看:20
本文介绍了SVN 到 Clearcase 导出的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一位非常坚持使用 Clearcase 的客户.是否有任何工具/脚本可以让我的团队使用 SVN 存储库(或真正的任何东西,而不是 Clearcase),但会定期自动将变更集同步回 Clearcase VOB?

I have a client who is rather insistent about using Clearcase. Are there any tools/scripts that would allow my team to work against an SVN repository (or really anything other than Clearcase), but periodically automatically sync back changesets to the Clearcase VOB?

我的想法是,如果存在这样的工具,并且它是自动的、可靠的和透明的,那么客户端可能会被说服允许我们对抗 SVN.

My thinking is that if such a tool exists, and it's automatic, reliable, and transparent the client might be pursuaded to allow us to work against SVN.

谢谢,肯特

推荐答案

我使用 Git 直接在 ClearCase 视图中.
然后我可以 git2svn 如果我有要同步的 SVN 存储库,则将内容返回到 SVN.

I use Git directly within a ClearCase view.
Then I could git2svn back the content to SVN if I had a SVN repo to synchronize with.

注意:对于直接在 ClearCase 视图中工作的工具,我必须使用快照视图,以便写入文件,即使它们尚未签出.然后,对于我认为已完成的任何活动,我都会更新快照视图,它允许我列出所有被劫持"的文件.我签出它们,然后签入它们.

Note: for a tool to work directly within a ClearCase view, I have to use a snapshot view, in order to write in files even if they are not checked out yet. Then for any activity I consider finished, I update the snapshot view which allows me to list all "hijacked" files. I check-out them, then check-in them.

在这种情况下(客户的 ClearCase 存储库)使用 SVN 时我会看到的问题是:

The issue I would see with working with SVN in this case (ClearCase repo for the client) would be to:

  • 引入了另一个中央存储库(意味着提交,您必须有权访问您的私有中央 SVN 存储库,并且对于到客户端提交",可以访问中央 ClearCase VOB - 版本对象库,ClearCase 术语中的存储库").
  • 引入了另一种分支建模,在 SVN 中,它是目录中的廉价副本,而在 ClearCase 中,它是不表示为目录的元数据(分支).这意味着 SVN 签出的物理树可能与 ClearCase 中的快照视图更新不匹配,因为 SVN 签出的某些目录在 ClearCase 中根本不存在.

至少,使用 Git,你有:

At least, with Git, you have:

  • 私有存储库(您不会添加另一个每个人都应该有权访问的中央存储库)
  • 相同的分支模型(至少在不以目录表示分支"时)

这篇关于SVN 到 Clearcase 导出的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆