Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Change Capitalization of a TFS Source Folder

Tags:

So, I was trying to change the capitalization of a folder at the route of a team project's source control tree. I have come up with a couple ways to do it that are rather stupid, but am wondering if there are simpler ways to do it. The fundamental issue is that the rename and move functionality are both designed on the assumption that the name will be different, which means they cannot be used to change capitalization unless applied twice.

Stupid Method 1:
Step 1: Check out project
Step 2: Remove workspace binding
Step 3: (optional) Make workspace binding for new folder
Step 4: Move to a subfolder or to a folder creating in step 2
Step 5: Check in
Step 6: Repeat Steps 1-4 in the other direction.


Stupid (and dangerous) Method 2:
Mess around with the database directly, assuming you have access to it.
like image 513
Brian Avatar asked Jan 14 '10 22:01

Brian


1 Answers

tf rename $/project/FooBar $/project/FOObar should work w/o any needless complexity. I just tried it, didn't see the problem.

like image 137
Richard Berg Avatar answered Nov 10 '22 07:11

Richard Berg