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!