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 閱讀(2047) 評論(0)  編輯  收藏 所屬分類: ZZ.Net
          主站蜘蛛池模板: 丰县| 新田县| 鄂伦春自治旗| 鄂托克旗| 五台县| 乐业县| 边坝县| 奉化市| 合山市| 永城市| 西峡县| 常山县| 呼和浩特市| 同德县| 丹凤县| 望城县| 麻城市| 邵阳市| 衡南县| 永和县| 柞水县| 海安县| 名山县| 土默特左旗| 祥云县| 淮阳县| 台湾省| 泸定县| 北辰区| 漳浦县| 眉山市| 怀安县| 卓资县| 宁乡县| 蒙山县| 黎平县| 罗江县| 阳山县| 莒南县| 武汉市| 宁化县|