Shachar297
Shachar297

Reputation: 862

TFS Get latest version - delete local files when they deleted from remote TFS Repository

We are migrating a tfs repository (az devops cloud) to tfs (another organization, cloud also.)

when getting latest version from the source repository, the files that were deleted from the remote repo are not getting deleted in the local workspace.

We are using visual studio to manage our tfs files.

Our repository is something like 800 GB. so cloning again is not an option.

Steps i did :

  1. Get Latest version - Did not delete the local files (if they deleted remote)
  2. Compare (local to remote) - checkout - did not delete local files.

any thoughts here ?

Upvotes: 0

Views: 294

Answers (1)

Kreetchy
Kreetchy

Reputation: 800

Make sure you clean the workspace first before everything else.

Retry getting latest version after you clean.

In visual studio, you can check for pending deletes, if you find any, check them in to complete the deletion.

Then you can compare workspaces if none of the above work. Compare local and remote.

A last resort would be to manually delete the files (DANGEROUS move, make sure you have backup)

Upvotes: -1

Related Questions