Try to svn checkout, but get: svn: '.' is

2019-01-19 10:22发布

I'm trying to svn checkout into my public_html folder, but I get this error: svn: '.' is already a working copy for a different URL

My brother already set up a boiler plate site for me, but I've changed it and put those changes into a repo of my own. How do I make this folder not be a working copy of the repo he set up originally?

Can I delete the public_html folder and make a new one? I'm fine with starting from scratch, as I'm going to just checkout an already installed drupal site onto this site.

I saw in another question that a solution may be to simply delete the .svn directory. I tried this, but it said permission denied for several subdirectories in .svn.

Thanks in advance for ANY help, hope this question isn't too dumb...

7条回答
叼着烟拽天下
2楼-- · 2019-01-19 11:13

I ran into this error ("... is already a working copy for a different URL") just now in Eclipse 3.5. I was trying to check out a particular branch of a project from the Eclipse "SVN Repository Exploring" perspective (the Subclipse subversion client adapter from tigris.org). I had drilled into [project] | branches | [branch] that I was interested in, then did right-click on the branch that I was interested in and selected Checkout; this led to the error.

For me, the fix was to instead go to the "Java EE" perspective, right-click on my project, and select Replace With | Branch/Tag... from the context menu. Doing this, I was successfully able download the branch I was interested in.

查看更多
登录 后发表回答