Starteam不会签入添加到项目中的新文件

时间:2022-03-14 22:37:07

I am using Visual Studio 2005 and StarTeam 2008 (cross-platform client and VS integration). At some point, I added an 'App.config' to a project. I notice now that this file will not check-in.

我正在使用Visual Studio 2005和StarTeam 2008(跨平台客户端和VS集成)。在某些时候,我在项目中添加了“App.config”。我现在注意到这个文件不会办理登机手续。

  1. The 'StarTeam Pending Checkins' window in VS reports the file 'Not in View'. Selecting it for check in and clicking 'Check In Files' causes a dialog to appear - 'Any operation... requires completing the pending renames/deletes'. I click 'Yes' to proceed and nothing happens.

    VS中的“StarTeam Pending Checkins”窗口报告文件“Not in View”。选择它以进行签入并单击“签入文件”会导致出现一个对话框 - “任何操作......都需要完成挂起的重命名/删除”。我点击“是”继续,没有任何反应。

  2. The StarTeam client reports this file as 'Modified'. If I check-in from the client, I get no 'complete pending renames/deletes' dialog and the file quickly appears with a 'Current' status.

    StarTeam客户端将此文件报告为“已修改”。如果我从客户端办理登机手续,我将无法获得“完整的待定重命名/删除”对话框,并且文件会快速显示为“当前”状态。

  3. Refreshing StarTeam from VS, I still see the file as 'Not in View'.

    从VS刷新StarTeam,我仍然将文件视为“Not in View”。

I have tried forcing the check-in. I completely removed my working files and pulled the solution fresh in hopes that the StarTeam status ('Current') would apply in VS.

我试过强行办理登机手续。我完全删除了我的工作文件并提取了新的解决方案,希望StarTeam状态('Current')适用于VS.

3 个解决方案

#1


0  

I tried deleting the file to just start over.

我尝试删除文件重新开始。

  1. I deleted it from the project in VS and StarTeam client (deleting working files too).
  2. 我从VS和StarTeam客户端的项目中删除了它(也删除了工作文件)。

  3. I can partially check-in... the 'StarTeam Pending Checkins' window in VS reports the status as 'Locally deleted'
  4. 我可以部分办理登机手续...... VS中的“StarTeam Pending Checkins”窗口将状态报告为“本地删除”

  5. I can't find out how to complete the 'pending delete' (I'm assuming this is the requirement).
  6. 我无法找到如何完成'待删除'(我假设这是要求)。

There are no traces of the file in the StarTeam client... and I can't find any pending rename/delete information. I cannot force the check-in in VS any further.

StarTeam客户端中没有该文件的痕迹......我找不到任何待处理的重命名/删除信息。我无法再在VS中强行办理登机手续。

#2


0  

I am not specialist of StarTeam, but this behavior could be consistent with a file already managed by a Windows process, which would prevent StarTeam to do its checkin operations.

我不是StarTeam的专家,但这种行为可能与已经由Windows进程管理的文件一致,这会阻止StarTeam执行其签入操作。

If by checkin StarTeam must temporally move the file and rewrite it, that can be a reason of conflict with the Windows process which will block any write operations on that file.

如果通过签入StarTeam必须暂时移动文件并重写它,这可能是与Windows进程冲突的原因,这将阻止对该文件的任何写操作。

A possible check would be to close Visual Studio (and all other non-StarTeam program, just to be sure) and try then to add this file alone.

可能的检查是关闭Visual Studio(以及所有其他非StarTeam程序,只是为了确定)并尝试单独添加此文件。

#3


0  

It appears I solved this...

看来我解决了这个......

  1. I had a co-worker with better credentials add the file to the same project.
  2. 我有一个更好的凭据的同事将文件添加到同一个项目。

  3. He checked in successfully.
  4. 他成功登记了。

  5. I blew away my working files and pulled the solution from Visual Studio.
  6. 我吹掉了我的工作文件并从Visual Studio中删除了解决方案。

  7. I added the content to the file, saw the modified status, and checked in.
  8. 我将内容添加到文件中,查看修改后的状态,然后签入。

It appears that normal users do not have delete privileges (just regular delete, not permanent history erasing delete). And in some cases the pending delete cycle (is that managed by StarTeam?) doesn't execute and you can't check in files.

普通用户似乎没有删除权限(只是常规删除,而不是永久删除历史记录删除)。在某些情况下,挂起的删除周期(由StarTeam管理?)不会执行,您无法签入文件。

#1


0  

I tried deleting the file to just start over.

我尝试删除文件重新开始。

  1. I deleted it from the project in VS and StarTeam client (deleting working files too).
  2. 我从VS和StarTeam客户端的项目中删除了它(也删除了工作文件)。

  3. I can partially check-in... the 'StarTeam Pending Checkins' window in VS reports the status as 'Locally deleted'
  4. 我可以部分办理登机手续...... VS中的“StarTeam Pending Checkins”窗口将状态报告为“本地删除”

  5. I can't find out how to complete the 'pending delete' (I'm assuming this is the requirement).
  6. 我无法找到如何完成'待删除'(我假设这是要求)。

There are no traces of the file in the StarTeam client... and I can't find any pending rename/delete information. I cannot force the check-in in VS any further.

StarTeam客户端中没有该文件的痕迹......我找不到任何待处理的重命名/删除信息。我无法再在VS中强行办理登机手续。

#2


0  

I am not specialist of StarTeam, but this behavior could be consistent with a file already managed by a Windows process, which would prevent StarTeam to do its checkin operations.

我不是StarTeam的专家,但这种行为可能与已经由Windows进程管理的文件一致,这会阻止StarTeam执行其签入操作。

If by checkin StarTeam must temporally move the file and rewrite it, that can be a reason of conflict with the Windows process which will block any write operations on that file.

如果通过签入StarTeam必须暂时移动文件并重写它,这可能是与Windows进程冲突的原因,这将阻止对该文件的任何写操作。

A possible check would be to close Visual Studio (and all other non-StarTeam program, just to be sure) and try then to add this file alone.

可能的检查是关闭Visual Studio(以及所有其他非StarTeam程序,只是为了确定)并尝试单独添加此文件。

#3


0  

It appears I solved this...

看来我解决了这个......

  1. I had a co-worker with better credentials add the file to the same project.
  2. 我有一个更好的凭据的同事将文件添加到同一个项目。

  3. He checked in successfully.
  4. 他成功登记了。

  5. I blew away my working files and pulled the solution from Visual Studio.
  6. 我吹掉了我的工作文件并从Visual Studio中删除了解决方案。

  7. I added the content to the file, saw the modified status, and checked in.
  8. 我将内容添加到文件中,查看修改后的状态,然后签入。

It appears that normal users do not have delete privileges (just regular delete, not permanent history erasing delete). And in some cases the pending delete cycle (is that managed by StarTeam?) doesn't execute and you can't check in files.

普通用户似乎没有删除权限(只是常规删除,而不是永久删除历史记录删除)。在某些情况下,挂起的删除周期(由StarTeam管理?)不会执行,您无法签入文件。