TFS:All files are up to date.

June 7, 2007 ·  


If you do a

tf.exe get filename.ext

and get All files are up to date. back, it might be because your current directory is not correctly mapped to a folder in the Team Foundation Server project your root folder is mapped to.

It your server ‘tree’ looks like this:


ProjectName
Source
ClientCode
...
ServerCode
...

…and your local folders look like this:

ProjectName
Source
ClientCode
...
ServerCode
...
TemporarySource
ClientCode
...
ServerCode
...

…then you will get All files are up to date. if you try to get files in the TemporarySource-tree.

This really bit me because I thought the return message meant that I had the current version of the file on disk, so when I tried a tf.exe checkout filename.ext and got TemporarySource\filename.exe could not be found in your workspace. I did a lot of swearing before I figured out I was in the wrong folder.

Comments

Leave a Reply