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

时间:2022-04-19 20:59:08

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. 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.

我即将在StarTeam中执行一堆文件夹移动操作(包括一些新的嵌套级别),我想设置一个标签,以便在出现问题时可以回滚。我想出了如何在文件夹及其所有子项上设置标签,但我无法弄清楚如何获得与该特定标签对应的该文件夹的版本。看起来标签与文件本身有关,而与文件夹/文件夹结构无关。

1 个解决方案

#1


4  

I've switched to Subversion and FogBugz so I am rusty on StarTeam. I think you need a View Label.

我已经切换到Subversion和FogBugz,所以我在StarTeam上生锈了。我认为你需要一个视图标签。

  1. From View menu, select Labels... to open the Labels dialog.
  2. 从“视图”菜单中,选择“标签...”以打开“标签”对话框。

  3. On the View tab, click New... button to open View Label dialog.
  4. 在视图选项卡上,单击新建...按钮以打开视图标签对话框。

  5. Type in label name as "Release 1.2.3.4", check Frozen, and hit OK.
  6. 键入标签名称为“版本1.2.3.4”,选中“冻结”,然后单击“确定”。

To get back to the state,

要回到州,

  1. From View menu, select Select Configuration... to open the Select a View Configuration dialog.
  2. 从“视图”菜单中,选择“选择配置...”以打开“选择视图配置”对话框。

  3. Select Labeled configuration, and pick "Release 1.2.3.4"
  4. 选择标签配置,然后选择“版本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. Here's a quote from Configuring a View:

然后,您可以从视图标签创建一个新视图,以便分支。请参阅帮助文件>使用StarTeam>管理视图。以下是配置视图的引用:

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.

默认情况下,视图具有当前配置 - 即,它显示项目中项目的最新修订。但是,您可以根据标签,促销状态或某个时间点将视图回滚到过去状态。

#1


4  

I've switched to Subversion and FogBugz so I am rusty on StarTeam. I think you need a View Label.

我已经切换到Subversion和FogBugz,所以我在StarTeam上生锈了。我认为你需要一个视图标签。

  1. From View menu, select Labels... to open the Labels dialog.
  2. 从“视图”菜单中,选择“标签...”以打开“标签”对话框。

  3. On the View tab, click New... button to open View Label dialog.
  4. 在视图选项卡上,单击新建...按钮以打开视图标签对话框。

  5. Type in label name as "Release 1.2.3.4", check Frozen, and hit OK.
  6. 键入标签名称为“版本1.2.3.4”,选中“冻结”,然后单击“确定”。

To get back to the state,

要回到州,

  1. From View menu, select Select Configuration... to open the Select a View Configuration dialog.
  2. 从“视图”菜单中,选择“选择配置...”以打开“选择视图配置”对话框。

  3. Select Labeled configuration, and pick "Release 1.2.3.4"
  4. 选择标签配置,然后选择“版本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. Here's a quote from Configuring a View:

然后,您可以从视图标签创建一个新视图,以便分支。请参阅帮助文件>使用StarTeam>管理视图。以下是配置视图的引用:

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.

默认情况下,视图具有当前配置 - 即,它显示项目中项目的最新修订。但是,您可以根据标签,促销状态或某个时间点将视图回滚到过去状态。