jinfeng_wang

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

          BlogJava 首頁 新隨筆 聯系 聚合 管理
            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 閱讀(2038) 評論(0)  編輯  收藏 所屬分類: ZZ.Net
          主站蜘蛛池模板: 东乡县| 河曲县| 靖西县| 安岳县| 乌兰县| 资源县| 青浦区| 常宁市| 淳安县| 抚宁县| 马龙县| 桦南县| 翼城县| 绥宁县| 兴安盟| 来凤县| 武乡县| 偃师市| 台东县| 朝阳县| 从江县| 广宗县| 江永县| 乡宁县| 漯河市| 甘孜县| 南充市| 华池县| 皋兰县| 高雄市| 静海县| 景东| 五原县| 苗栗市| 平罗县| 聂拉木县| 天柱县| 宿州市| 宁武县| 墨竹工卡县| 梁山县|