tfs-power-tools

TFS Power tools Migrate doesn't actually migrate

只愿长相守 提交于 2019-12-13 14:19:02
问题 I would like to migrate a shelveset from one branch to another. Here is my command: tfpt unshelve MigrateShelf /migrate /source:"$/Code/OldBranch/Source" /target:"$/Code/NewBranch/Source" When I execute it, I the window pops up, but it is still unshelving into OldBranch. I see this question tfpt migrate for TFS doesn't do anything and it looks like he has the same question, but he accepted an answer, then complained that it didn't solve his issue? 回答1: I also had the same problem. After

Windows PowerShell Snap-In for IIS fails on 32-bit?

五迷三道 提交于 2019-12-12 13:14:40
问题 I'm trying to write a PowerShell script that will automate my IIS website deployments. I'm trying to run the scripts on my Windows Server 2008 R2 machine, under 32-bit in: C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe Whenever I run a WebAdministration command such as this: Get-Website -Name "MYWebsite" I get an error like this: Get-Website : Retrieving the COM class factory for component with CLSID {688EEE E5-6A7E-422F-B2E1-6AF00DC944A6} failed due to the following error:

Undo local changes that exist in a shelveset?

核能气质少年 提交于 2019-12-12 02:48:57
问题 Problem Often times, while a team is repairing one part of the code base, we have to have a shelveset of theirs locally so that we can continue working. However, in the process of working I need to shelve my changes for a code review for example. This isn't too much of a problem because I can get their shelveset first, exclude those changes, make my changes, and shelve them. However, when they have checked in their changes there is no good way for me (except by hand) to simply undo their

Team members power tools 2012 with TFS 2010

余生长醉 提交于 2019-12-11 07:44:52
问题 I have visual studio 2012 installed with TFS 2010. I installed power tools 2012 recently but I do not see the Team Members tab. Is there compatibility issue between TFS 2010 and VS 2012? If yes, any work around to see the Team Members tab in VS 2012 with TFS 2010? I referred to the below link and it seems there are compatibility issues. Any work around? User Check-In History in Visual Studio 2012 / 2013 回答1: I suggest you to use Power tools 2010 by Command Line , or add External Tool (Section

What is the difference between tfpt scorch and tfpt treeclean

丶灬走出姿态 提交于 2019-12-10 18:56:57
问题 What is the difference between these two commands? tfpt scorch /deletes /recursive /noprompt tfpt treeclean /recursive /noprompt 回答1: The documentation is pretty clear: Scorch Ensure source control and the local disk are identical Treeclean Delete files and folders not under version control Treeclean just deletes files not under version control. Scorch deletes files not under version control and will ensure that the files that are being synchronized match the server version. 来源: https:/

Why are all files marked with 'merge' in TFS?

断了今生、忘了曾经 提交于 2019-12-10 00:54:38
问题 I am merging my development branch into the main branch. There is only a subset of files that I have changed in my development branch, all other files should remain unchanged. Logically, I only want to merge files which I've changed. I would not check in a file which I did not change. But when I do the merge operation in TFS, it marks every single file in the tree with change type 'merge'. It looks like I must checkin every single file in the whole source code tree! I really do not want to do

tfpt unshelve migrate showing “An item with the same key has already been added.”

倖福魔咒の 提交于 2019-12-09 14:00:21
问题 I am follwing the example here Branch from local workspace because I have the same scenario. Shelveset details dialog appear, after clicking unshelve it showing "An item with the same key has already been added." Any advice please? 回答1: As others have indicated in the comments, undoing changes from the main branch (presumably the SOURCE branch for the shelveset you want to unshelve), should fix the issue, allowing you to continue with the merge behavior. 回答2: I had a very similar issue to

return Get-TfsItemHistory specific value

烈酒焚心 提交于 2019-12-08 14:13:25
I am using powershell to try to make a email script that will send out a list of changesets and affected work items for the latest build I am doing this with Get-TfsItemHistory WorkspacePath -Version "LBuild 9.1.71.1~LBuild 9.1.72.1" -Recurse | Select * -exp WorkItems | Format-Table Committer,ChangesetId,Comment,Id,Title -GroupBy ChangesetId -Auto How can I get a specific value such as the 4th changeset's Commiter value You need to pipe to the Select-Object cmdlet Get-TfsItemHistory WorkspacePath -Version "LBuild 9.1.71.1~LBuild 9.1.72.1" -Recurse | Select * -exp WorkItems | Select-Object

return Get-TfsItemHistory specific value

不打扰是莪最后的温柔 提交于 2019-12-08 05:11:48
问题 I am using powershell to try to make a email script that will send out a list of changesets and affected work items for the latest build I am doing this with Get-TfsItemHistory WorkspacePath -Version "LBuild 9.1.71.1~LBuild 9.1.72.1" -Recurse | Select * -exp WorkItems | Format-Table Committer,ChangesetId,Comment,Id,Title -GroupBy ChangesetId -Auto How can I get a specific value such as the 4th changeset's Commiter value 回答1: You need to pipe to the Select-Object cmdlet Get-TfsItemHistory

Detect file delete changes with TFS API (automated, without VS interaction)

 ̄綄美尐妖づ 提交于 2019-12-07 21:38:45
问题 I have a local folder within the tfs workspace and use the TFS-API. Every night i do delete this folder and and after that script a database as .sql files. If now something was added or edited, the changes will be found and get into the pending changes to checkin. The question is how i can detect with the TFS-API that a file is missing (intentionally, because no longer in database and becaus of that no longer scripted). The first step is obvious, delete all files and script all in the empty