6

Hi
I have a problem in committing my changes to SVN.
I get the message:

Commit failed (details follow):
Illegal repository URL ''

I'm using netbeans.

Any help please ?

eckes
  • 64,417
  • 29
  • 168
  • 201
M.M
  • 1,343
  • 7
  • 20
  • 49
  • Sorry, I can't think: what's CVN? You're not confusing CVS and SVN (= subversion)? – Rup Mar 01 '11 at 15:56

6 Answers6

6

Sounds like your repository URL is incorrect. Check to be sure that your repository is pointing to the right place;

$ svn info
Path: .
URL: https://... ** is this right?
Repository Root: https://... ** Is this right?
<snip>

If that's correct, is your SVN server running? Can you ping the server, verify that SVN is running, etc.?

AlG
  • 14,697
  • 4
  • 41
  • 54
  • Maybe not so much "bad" but more rather "inconsistent." This problem can happen if you've checked out different subdirectories of the repo with different-but-equivalent URLs. For instance specifying http one time and https another. Then trying to check them in all at once gives the error. Fix like this: $ perl -pi.bak -e 's/http:/https:/;' */.svn/entries – MarkHu Oct 20 '12 at 03:35
4

I was getting this error, and the issue turned out to be that I was trying to commit both local changes and changes to external projects - as described here How do I checkin to local copy AND svn:externals subdirectories in one commit?.

Community
  • 1
  • 1
Ryan Mitchell
  • 1,410
  • 1
  • 14
  • 23
  • 1
    This helped me, although I have no idea if there are external things in the project I'm working with. I just committed everything separatedly (each subfolder or file) and it worked. – User Feb 23 '12 at 17:28
  • Thanks, this was the problem for me as well. – Simeon Visser Mar 21 '12 at 08:54
3

have you tried svn switch CORRECT_URL

Nir Pengas
  • 990
  • 9
  • 16
0

Sometimes directories get checked out under aliases. I had a situation where most files were checked out using the URL svn://server.company.com/repo but one was checked out under svn://server/repo and Subversion got confused, throwing this error when I tried to check files in under both directories simultaneously.

Vercingatorix
  • 1,838
  • 1
  • 13
  • 22
0

I had this problem in TortoiseSVN and it was actually because of the hidden folder that stores all the .svn files. These files contain some pointers that can get messed up if you're copying and pasting files.

I had copied an entire folder from TestBoxA to TextBoxB and thusly accidentally dragged the hidden .svn files with it. Since all the .svn files were still pointing to TestBoxA, I got that error.

The simple fix was to enable File Explorer-> View -> Show Hidden Folders so I could see hidden folders and delete the folder named "svn" in the corrupted folder. SVN generated new .svn files when I committed.

JemWritesCode
  • 502
  • 6
  • 17
0

If the URL is correct, then it might be a proxy issue. For example if you are behind a corporate firewall, then you have to set up the proxy server as well.

vermest
  • 1
  • 1