Clone from http://tfsversioning.codeplex.com/