Can run update and it works, but commit says illeg

2019-07-23 05:32发布

问题:

In subversion I'm trying to commit a project but running into an issue.

The error I get is

Illegal repository URL ''

How come I can run update, but commit on the same tree shows that?

回答1:

Try this, it worked for me:

  1. Create a folder.
  2. Right button over folder and create repo here.
  3. When pop up appears select create folder structure and then open folder.
  4. When repository browser appears you see tags branch etc, right button again and create folder but now with tool tortoise.
  5. Update you file to folder.


回答2:

After some hunting around it seems that a few other people have experienced some sort of local corruption at the top level their checked out project directory which is where I was committing from.

I followed the same procedure that was used to solve those cases which is to back up the sources. Check out the project again. Finally copy the changed files back over the freshly checked out copy. Check it builds correctly. And then commit that.

It seemed to solve it for me.