Remember to check-in when you re-format your machine!!!

Besides losing any code you may have written that you’ll never get back, those pending changes or locks will be stored on the server until someone does an “undo” or a workspace delete.

 

Here is the undo command:

tf undo /workspace:TheirWorkspace;DOMAIN\TheirUserAccount $/path/to/file

 

Here is the delete workspace command:

tf workspace /delete TheirWorkspace;DOMAIN\TheirUserAccount /s:http://TFSSERVER:8080

 

I nabbed these commands from this blog post on Richard Murillo’s blog.

 

more later – joel

Published Tuesday, May 12, 2009 10:17 AM by joelvarty
Filed under: ,

Comments

# re: Remember to check-in when you re-format your machine!!!

Tuesday, May 12, 2009 10:59 PM by rajbk

Consider using Shelfsets instead of checking in when you want to reformat your machine

msdn.microsoft.com/.../ms181403(VS.80).aspx

We use the free "Team Foundation Sidekicks" for, amongst other things, unlocking files.

www.attrice.info/.../tfs

Hope that helps,

Raj Kaimal

Leave a Comment

(required) 
(required) 
(optional)
(required)