using TFS API how can I get the changeset ID for a file on a specific date?

Posted by jcollum on Stack Overflow See other posts from Stack Overflow or by jcollum
Published on 2010-03-21T20:46:19Z Indexed on 2010/03/21 20:51 UTC
Read the original article Hit count: 383

Filed under:

I was hoping that I could pass a DateVersionSpec into VersionControlServer.DownloadFile() but it doesn't work. It tells me that the item doesn't exist at that version, even though the file existed in source on the date passed.

Do I need to query the Item history just so I can figure out what version the file was at on the date in question? Use QueryHistory(...) method?

© Stack Overflow or respective owner

Related posts about tfs2008