tfs

git-tf tells me “Could not lock” when checking in; how can I fix it?

☆樱花仙子☆ 提交于 2020-01-02 07:17:48
问题 I'm using git-tf to push to a TFS project. Sometimes, when I try to check one or more commits into TFS, I get a message like this: Connecting to TFS... Checking in to $/MyProject: 0% git-tf: Could not lock $/MyProject What does this mean? What's keeping me from locking? And how can I fix this? 回答1: Why it happens With standard TFS usage, you're only checking in one commit at a time. But with Git, you could have a series of commits that you push all at once. Because of that, git-tf strives to

Need IP Range from Visual Studio Team Service to create SG on AWS

吃可爱长大的小学妹 提交于 2020-01-02 06:39:26
问题 We have our infrastructure on AWS and our NET Projects are starting to use Visual Studio Team Service (VSTS) to provide CI/CD and manage all the build/release process from there. We are using the Hosted Build Servers but the deploy is going to be on AWS IIS Server (EC2 Windows 8 R2 IIS Server). I was trying to find what is the IP Range for VSTS in order to create the right Security Groups (SG) and added to our EC2 instances but I am unable to know what is the range and they provide the list

TFS 2015: Publish artifact - “A task was canceled”

旧城冷巷雨未停 提交于 2020-01-02 06:23:19
问题 Since shortly, I receive "A task was canceled" when running the build task "Publish artifact". The tfs Server is running for a view weeks now and I never had problems with these tasks. I fixed this issue once with deleting the build output Folder but unfortunately this "workaround" is not working anymore. I tried to change the artifact name in the hope that this could change something... Nothing helped. Log file output: 2016-04-22T13:04:55.6060280Z Set workingFolder to default: C:\agent\tasks

Merge multiple files in TFS

▼魔方 西西 提交于 2020-01-02 06:07:00
问题 We're using TFS as version control system for our software. Currently the software has two versions in two separate branches: branch "Version 1.0" and branch "Version 2.0". Every fix in "Version 1.0" has to be merged into "Version 2.0". I merge manually from the context menu on the file to be merged. My problem is that some fixes comprise more than one file located in different folders. Then I have to perform the same action on every file. Is there a posibility to merge a group of files at

Create a workspace from Powershell run within VS Team Services build

余生长醉 提交于 2020-01-02 04:02:14
问题 I am writing a Powershell script as part of a Visual Studio Team Services build, this build uses a hosted build controller. The script is intended to check out a file, make changes then check it back in. In the script I am trying to invoke the tf command to create a new workspace but I'm having authentication issues. The command & $tf vc workspace /new $tempWorkspaceName /collection:https://mycollection.visualstudio.com/ produces the error: TF30063: You are not authorized to access https:/

VS2008 TFS: Is it possible to change the default Check-in Action for work items?

你离开我真会死。 提交于 2020-01-02 03:30:51
问题 When I check in code to our Team Foundation Server, I some times (probably more often than I actually do...) should associate my check-in with a task or a bug I am working towards. When I mark a task or a check in, it sets the Check-in Action to Resolve. But almost always, I just want to have it as just Associate. The result is that I often end up marking a task as resolved by mistake. Is there a way to make Associate the default when I mark a task? Resolving a bug or a task should be

Is it possible to do a “destroy history” in TFS?

僤鯓⒐⒋嵵緔 提交于 2020-01-02 02:23:08
问题 Is to possible to "purge" history from a given change set/date in TFS? So, for example, For file X destroy all version older than date Y. or destroy all version before revision Y. 回答1: Yes you can - http://msdn.microsoft.com/en-us/library/bb386005.aspx - TF Destroy $/MyTeamProject /keephistory /stopat:C864 来源: https://stackoverflow.com/questions/3965361/is-it-possible-to-do-a-destroy-history-in-tfs

git clone: Authentication failed for <URL>

不想你离开。 提交于 2020-01-02 02:06:28
问题 Trying to access private corporate tfs. They gave me access by giving appropriate rights to windows user (domain\login). I'm fine with accessing web interface of tfs, browse repository and stuff. But when I try to run git clone https://tfs.somehostname.com/tfs/somefolder/_git/therepository It fails with Cloning into 'therepository'... fatal: Authentication failed for 'https://tfs.somehostname.com/tfs/somefolder/_git/therepository/' Tried with home pc without corporate network stuff - same

Set “Show Solution Changes” as default view option for Included Changes in VS2013 TFS

江枫思渺然 提交于 2020-01-02 02:03:30
问题 As the title says, in the view for Pending Changes , where VS lists changes in your version, Show All is selected by default. In VS2013 update 3, i had this set to Show Solution Changes by default. I have to change this view to show only solution changes for every new check-in . I want the default to be Show Solution Changes . 回答1: As far as I tested, this default setting is controlled by the following registry entry. If the value of this registry entry is set as 1, then it should change the

Set “Show Solution Changes” as default view option for Included Changes in VS2013 TFS

会有一股神秘感。 提交于 2020-01-02 02:03:17
问题 As the title says, in the view for Pending Changes , where VS lists changes in your version, Show All is selected by default. In VS2013 update 3, i had this set to Show Solution Changes by default. I have to change this view to show only solution changes for every new check-in . I want the default to be Show Solution Changes . 回答1: As far as I tested, this default setting is controlled by the following registry entry. If the value of this registry entry is set as 1, then it should change the