Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Move command disabled in source control

Tags:

I currently have to clean up some sources in our TFS source control. For some reasons the move command is disabled in the menu for some folders. I was able to move other folders just fine.

Why is it greyed out for some folders?

  • I am logged in as TFS administrator
  • I got the latest version of the sources
  • All folders are mapped
  • No pending changes from any user

Any idea?

like image 453
Feroc Avatar asked Apr 30 '12 06:04

Feroc


People also ask

How do I move files in Azure repository?

In Source Control Explorer, select the item that you want to move, open its shortcut menu, and choose Move. In the Move dialog box, either manually type the destination for the item in the To box, or choose Browse to use the Browse for Folder dialog box. Choose OK.


2 Answers

This is usually because you don't have the parent folder mapped locally.

Also, it can occur if the parent folder is mapped to a different location so as the structure of local mapping does not match the structure of server folders.

like image 182
Dan Avatar answered Oct 20 '22 15:10

Dan


Another thing you should verify is that the whole folder you're trying to move is presented locally. Meaning you have to do the Get Latest Version prior to moving the folder.

After all sources under the folder are presented locally the Move... option becomes available.

like image 32
Lentyai Avatar answered Oct 20 '22 16:10

Lentyai