jinfeng_wang

          G-G-S,D-D-U!

          BlogJava 首頁 新隨筆 聯(lián)系 聚合 管理
            400 Posts :: 0 Stories :: 296 Comments :: 0 Trackbacks
          Sharing/Branching in VSS(zz)
          http://blogs.vertigosoftware.com/ericc/archive/2005/12/05/1716.aspx


          Recently I was tasked to share/branch a complex source tree in Visual SourceSafe 6.0 to do some changes with our project. For some reason, I found it very hard to do and I kept getting this error:

          What the heck does "A project cannot be shared under a descendant" mean? After some testing, it turns out the reason for this error is because VSS attempts to add the folder you specified to itself. That is why this is a recursive error: you are adding a folder to the folder you are recursively scanning. I tried specifying a path (ie. $/ProjectA-Copied), but it refuses to recognize the full path and keeps wanting to add to itself ($/ProjectA/ProjectA-Copied). For the life of me, I just couldn't get VSS to share to another location.

          After asking around some people, Paul (thanks!) told me that the problem is when you select Share on a project (aka folder) in VSS Explorer, you are selecting the destination project, not the source. Boy... great user experience isn't it?

          Armed with this key piece of knowledge, I created my destination project, selected Share on the destination project, in the share dialog selected the source project, and finally was able to successfully share that source project to the destination project.

          Also if you are branching after sharing and you have a project with lots of files, I recommend you use the Branch after share check box:

          If you share without branching in one step, then you will have to manually go into the destination project and branch all the files individually. Nope, you cannot branch on the project level!

          And finally, yes we're using Visual SourceSafe, yes I know it sucks, and finally (what I'm most happy about) yes we will be moving to Team Foundation Server and Visual Studio Team Suite!


          posted on 2007-01-29 15:58 jinfeng_wang 閱讀(2047) 評論(0)  編輯  收藏 所屬分類: ZZ.Net
          主站蜘蛛池模板: 博爱县| 新泰市| 安龙县| 长宁县| 通榆县| 格尔木市| 东光县| 枣庄市| 鹰潭市| 南乐县| 察哈| 康平县| 大安市| 昔阳县| 瓦房店市| 施甸县| 邵阳县| 绥化市| 微博| 元阳县| 潜山县| 屯门区| 革吉县| 永川市| 公主岭市| 高雄县| 当阳市| 兴海县| 泰州市| 贡觉县| 罗城| 铜梁县| 潞西市| 外汇| 新郑市| 海口市| 万盛区| 彭州市| 新竹市| 富民县| 基隆市|