Omnifarious
Omnifarious

Reputation: 56108

TFS: How do I get a list of managed files in my enlistment?

In tfs, how do I get a list of files in my working directory that are being managed by tfs? I don't care if I've checked them out or not (if I did, tf status would be the obvious choice). I just care whether or not tfs is tracking changes for them or not.

I want to use this like I use hg locate for Mercurial. I want to search through all the files that are not temporary files or build products of some kind, things that are part of the base source code, for something that shows up in the build products, but I don't know where it comes from.

Upvotes: 1

Views: 79

Answers (2)

starian chen-MSFT
starian chen-MSFT

Reputation: 33738

Try to use LocalVersions command. (The newly be added file won’t be list)

Upvotes: 1

PatrickLu-MSFT
PatrickLu-MSFT

Reputation: 51183

You could use tf workflod command. Which could displays information about the mappings between your workspace folders and the folders on the server for Team Foundation version control.

The following command displays the working folder mappings for the workspace in the current directory:

C:\projects>tf workfold

If you want to list the working folder mappings for a different workspace, you can specify the /workspace:workspacename parameter.

C:\>tf workfold /workspace:My_Other_Workspace

Required Permissions

To use the workfold command, you must be the owner of the specified or implied workspace or have the global Administer workspaces permission set to Allow.

Upvotes: 0

Related Questions