将存储库目录添加到CVS中的现有分支

时间:2011-11-21 18:22:13

标签: branch cvs

我的CVS资源库中有以下结构

ProjectX       
   |--> DirectoryA
   |        |--> DirectoryA1
   |        |--> DirectoryA2
   |        |--> DirectoryA3
   |--> DirectoryB
     .      .
     .      .

我仅为branch1创建了DirectoryA3

branch1:
ProjectX
   |--> DirectoryA
            |--> DirectoryA3

我忘记添加DirectoryA1DirectoryA2,我想将它们添加到分支中以获取此信息:

branch1:
ProjectX
   |--> DirectoryA
            |--> DirectoryA1
            |--> DirectoryA2
            |--> DirectoryA3

完成该操作需要哪些cvs命令?

1 个答案:

答案 0 :(得分:1)

解决以下问题:

cvs tag -r TAG-USED-WHEN-CREATING-THE-BRANCH -b branch1 ProjectX/DirectoryA/DirectoryA1
cvs tag -r TAG-USED-WHEN-CREATING-THE-BRANCH -b branch1 ProjectX/DirectoryA/DirectoryA2