I installed git-tf on my Mac, and cloned an existing tfs-project to the folder /Git/srvxxxx/.
Then I added a couple of files to the tree, added them to git (commands:
git add iOS/*, then git commit -m "first").
If I try to check in my changes to TFS, I get an exception: 'TF10217: Team Foundation was unable to complete your request due to an unexpected error'.
The event log in TFS tells my that I caused a PathTooLongException.
I really wouldn't know what's wrong. The longest local path on the Mac is 84 characters long, and the path in TFS would not be much longer than that.
Any idea, anyone?
TF53010: The following error has occurred in a Team Foundation component or extension:
Assembly: Microsoft.TeamFoundation.VersionControl.Server, Version=22.214.171.124, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a; v2.0.50727
Url: http://srv0180:8080/VersionControl/v1.0/repository.asmx [method: POST]
User Agent: Team Explorer Everywhere, SKU:13 (SDK 126.96.36.199208021315; Mac OS X x86_64 10.7.4)
Local Request: False
Host Address: 10.110.132.63
User: ...[authentication type: NTLM]
Exception Message: The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters. (type PathTooLongException)
Exception Stack Trace: at Microsoft.TeamFoundation.VersionControl.Server.Validation.checkLocalItem(String& item, String parameterName, Boolean allowNull, Boolean allowWildcards, Boolean allow8Dot3Paths, Boolean checkReservedCharacters)