12 December 2008

Solution for Commit failed (details follow): Unrecognized URL scheme for ''

I was using NetBeans 6.5 and suddenly I got the error below.
Commit failed (details follow): Unrecognized URL scheme for ''

Restarting NetBeans and re trying to commit did not work. Finally managed to commit by committing individual files.

I googled and found that many other developers are also facing the same issue with other SVN clients, but none of the reasons prove the root cause [atleast for me :)]

Added on 14-Dec-2008: One way of reproducing this issue is when we copy svn version controlled files from yet another repository. Let us assume we have project1 situated on svn server1 repo and project2 on svn server2 repo. We find reusable files [say Java file or javascript file] in project1 and we wish to copy and commit into project2.
Now when copying if we do not exclude the .svn folder [subversion specific files], we may get the above error when trying to commit.