简体   繁体   English

如何在Borland StarTeam中获取特定标签版本的文件夹?

[英]How do I get a particular labeled version of a folder in Borland StarTeam?

I'm about to perform a bunch of folder moving operations in StarTeam (including some new nesting levels) and I would like to set a label so that I can roll back in case of issues. 我即将在StarTeam中执行一堆文件夹移动操作 (包括一些新的嵌套级别),我想设置一个标签,以便在出现问题时可以回滚。 I figured out how to set a label on a folder and all its children, but I couldn't figure out how to get the version of that folder corresponding to that particular label. 我想出了如何在文件夹及其所有子项上设置标签,但我无法弄清楚如何获得与该特定标签对应的该文件夹的版本。 It seems like labels are tied to the files themselves and not the folders/folder structure. 看起来标签与文件本身有关,而不是文件夹/文件夹结构。

I've switched to Subversion and FogBugz so I am rusty on StarTeam. 我已经切换到Subversion和FogBugz所以我在StarTeam上生锈了。 I think you need a View Label. 我认为你需要一个视图标签。

  1. From View menu, select Labels... to open the Labels dialog. 从“ View菜单中,选择“ Labels...以打开“标签”对话框。
  2. On the View tab, click New... button to open View Label dialog. View选项卡上,单击New...按钮以打开视图标签对话框。
  3. Type in label name as "Release 1.2.3.4", check Frozen , and hit OK . 键入标签名称为“版本1.2.3.4”,选中“ Frozen ,然后单击“ OK

To get back to the state, 要回到州,

  1. From View menu, select Select Configuration... to open the Select a View Configuration dialog. 从“ View菜单中,选择“ Select Configuration...以打开“选择视图配置”对话框。
  2. Select Labeled configuration , and pick "Release 1.2.3.4" 选择Labeled configuration ,然后选择“版本1.2.3.4”

You can then create a new view from the view label to branch off you want to. 然后,您可以从视图标签创建一个新视图,以便进行分支。 See the Help file > Working with StarTeam > Managing Views . 请参阅帮助文件> Working with StarTeam > Managing Views Here's a quote from Configuring a View : 以下是Configuring a View的引用:

By default, a view has a current configuration – that is, it displays the latest revisions of the items in the project. 默认情况下,视图具有当前配置 - 即,它显示项目中项目的最新修订。 However, you can roll back a view to a past state based on a label, promotion state, or a point in time. 但是,您可以根据标签,促销状态或时间点将视图回滚到过去状态。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 使用Borland StarTeam更改文件夹结构时,如何合并文件? - How can I merge my files when the folder structure has changed using Borland StarTeam? 有没有办法在Borland StarTeam中查看整个文件夹上的历史记录? - Is there a way to view history on an entire folder in Borland StarTeam? 如何检出starTeam版本控制工具的所有版本 - how to check out all versions of starTeam version control tool 更改StarTeam中视图的根文件夹 - Change a root folder for a view in StarTeam 如何用Java编码获取文件夹的版本控制? - How can I have get the version control of a folder in java coding? 如何从SourceTree版本控制客户端中排除文件夹? - How do I exclude a FOLDER from SourceTree version control client? 如何为 Git VCS 触发器在特定文件夹上设置 Teamcity 触发器 - How Do I set a Teamcity Trigger on a Particular Folder for Git VCS trigger Git-我如何冻结小文件的特定版本,将其保存在我的存储库中,然后忽略对它的不断微小更改 - Git - how do I freeze a particular version of a small file, keep it in my repository, but then ignore constant minor changes to it going forward 如何使用Mercurial将我想要的版本代码添加到Visual Studio中 - How do I get the version code I want into Visual Studio using Mercurial 自上次标记版本以来,如何从CVS获取提交注释列表? - How do I get a list of commit comments from CVS since last tagged version?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM