Can someone uncheck or delete history log in TFS?

Hi,
We use VS2012.  We have a TFS setup, browser based at ourUrl@visutalstudio.com.  I think this is free and it was setup by one of our team member.

We recently have a disgruntle employee who just departed.  We then found some code in a dll is no longer working.  We are all sure it was working up till that person departed.  We checked the History of TFS and didn't find any changes to the code but that is not possible.  Before that was working and at sometime the correct code must have been checked in, built and deployed to the web server.

Can someone remove the checked in  history log and version?  is there a audit record of this some where in TFS that I can check?  

Thank you.
lapuccaAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Rahul AgarwalTeam LeaderCommented:
I think yes using admin permissions

reference:
http://msdn.microsoft.com/en-us/library/ms181482(v=vs.110).aspx
0
Ryan McCauleyEnterprise Analytics ManagerCommented:
Though admin rights would allow you to delete a project, I'm not aware of any way to actually delete version history (or effectively undo - rather than rollback - a check-in). Even with admin rights, I don't believe TFS supports compete destruction of a check-in.

Do you have a working copy of your DLL? Though it would be a bit painful, what happens if you decompile it and compare it to the most recent copy of the source code that you have available? Comments, formatting, and other "niceties" will be missing, but you'll at least be able to compare functional code and see if there are indeed any differences. Especially if you're getting a stack dump from your current code that tells you the location, you can compare to two and see how different they are, potentially replacing any differences with working code from the decompiled DLL.
0
Ryan McCauleyEnterprise Analytics ManagerCommented:
It looks like there's a command line option in TFS called "destroy" that will delete a file (assuming the caller has admin rights):

http://msdn.microsoft.com/en-us/library/bb386005(v=vs.100).aspx

It accepts a filename or a path, but it also accepts a parameter called "versionspec" that allows you to target a specific version of the file. Using this, somebody could delete a specific version of a specific file, though I'm not clear on whether they could delete evidence of a changeset altogether.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
lapuccaAuthor Commented:
I already fixed the code.  I am most interest in finding proof this ex-employee or someone help this person undo check-in code and remove history log.
0
sarabandeCommented:
We checked the History of TFS and didn't find any changes to the code but that is not possible.

if the latest code you get from tfs contains the wrong code and if you are right that there was a different code before (some time ago), you will get a difference to a previous version if you compare the versions in the history (first select latest version and any old version which doesn't contain the wrong code. if the difference can be found, narrow the versions to compare until you have found the changeset which contains the wrong code.

if all of the previous versions would contain the wrong code, i doubt that your analysis was true (means: the wrong code was old and the bug was due to other reasons). you may check whether there was an alternative workspace in that case or whether the developers were using alternative tools beside of tfs what could explain the differences.

Sara
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Version Control

From novice to tech pro — start learning today.