Reputation: 1182
I was helping a new coworker commit their changes to our SVN repository via TortoiseSVN, and we had a problem. The output it gave was:
Command: Commit
Error: Commit failed (details follow):
Error: Unable to open an ra_local session to URL
Error: Unable to open repository 'file:///T:'
The repository is a file-based repository located in a directory on our T drive. No one but the admins have write access to the root of T:, but everyone has write access to the folder on T: where the repository sits.*
So the question is, why does my coworker's TortoiseSVN fail to commit, and how can we fix it so that it is usable?
* Yes, I know a file-based SVN repo is bad, but unless switching to an SVN server will fix the problem we're having, that's outside the scope of this question.
Upvotes: 0
Views: 205
Reputation: 5765
This looks to be the problem described by this changelog entry:
* ra_local: fix error with repository in Windows drive root (r1518184)
This was fixed in Subversion 1.7.14 and 1.8.4. I'm not sure version of ankhSVN you're using but it might include the fix.
Looking at the tests for that fix you might want to try file:///T:/ for the path to the repo instead.
Fair warning: Upgrade to 1.7 or 1.8 clients will mean that you will have to upgrade your working copies and 1.6 clients won't be able to read them. This has no impact on your ability to read your repository that you're accessing over ra_local via 1.6 clients.
Upvotes: 1