I am using vs2012 with tfs. The whole things hangs when i try to undo a big changeset for an entire solution. The workaround I have adopted is to do this project by project. Is there a better way to do this?
I would re-map tfs to a fresh directory but then all those checkouts would still need to be undone. Any suggestions from people who have encountered and resolved this problem are welcome.
To undo all changes you have made in your solution or a code project, open the context menu, and then choose Undo Pending Change. In the Undo Pending Changes dialog box, make sure the changes you want to undo are selected, and then choose Undo Changes.
Select that folder in TFS explorer and right click. you will see the option "Checkin Pending changes.." Show activity on this post. In the team explorer open up the source control tab, then right click on the route folder and select Check in Pending Changes.
tf undo
from the Developer Command Prompt for VS2012 slightly faster than the IDE.
e.g: tf undo $/YourTeamProject /recursive
It doesn't do much - it sends an Undo
request to the server and in response receives the data to put on disk. If you have a slow connection to the server or you have a slow proxy (virus scanner, maybe?) then this can slow things down significantly.
If you find this happening a lot, your best course of action is to upgrade to TFS 2012 on the server, Visual Studio 2012 on the client, and then ensure that you are using a Local Workspace. In this case, you need not contact the server to undo.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With