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.
tf rename $/project/FooBar $/project/FOObar should work w/o any needless complexity. I just tried it, didn't see the problem.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With