Visual Studio Team Foundation Server 2015: "TF401189: The source branch has been modified since the last merge attempt."
(Yes, I know, ancient version of TFS!)
If you're attempting to delete a stale pull request in TFS 2015 where the original branch has been deleted (or in this instance merged back to master and then deleted) under a different pull request and receiving the message:
TF401189: The source branch has been modified since the last merge attempt.
These steps worked for me:
- Create a new branch of the expected name, branched from the branch the pull request is targeting
- Return to the pull request in TFS
- Close the pull request
- Now delete the temporary branch you created
And that's all there is to it, pull request gone!
My skillset has matured somewhat since then, which you'll probably see from the posts here. You can read a bit more about me on the about page of the site, or check out some of the other posts on my areas of interest.