开发者

URL for creating local repository on Subversion

I want to create a new Subversion repository through Aptana Studio. Both Aptana SVN plugin and Aptana Subversive plugins are installed. I am not following what URL to give as I want to create the repository on localhost.

Please see this link: h开发者_运维百科ttp://screencast.com/t/qVn3OvWqL


You must create the repository before you can checkout from it. This is a mdifference to DVCSes. So to create. Usually Plugins are not able to create repositories(as you need local access to server).

If you have TortoiseSVN just browse to the directory where your repository should be, in your case:

d:\subversionrepository\prazact_website

If you use TortoiseSVN:

right click on folder "prazact_website"  -> "TortoiseSVN" -> "create Repository here"

If you use Commandline:

svnadmin create d:\subversionrepository\prazact_website

If you created the repository, you can now connect with the above mentioned URL:

file:///d:/subversionrepository/prazact_website


Normally this is where you provide the url via which other clients (including yours) can access this repository. SVN repositories can be accessed via various access protocols:

  1. svn (svn://)
  2. http (http://)
  3. local file access protocol (file:///)

If you have a central repository location where all your repo's are located, and you want to create your repo in the same location, then you can click on the browse button. It will help you see the repository root used by your SVN administrator. BUt if this is a private repository and you want to create it on your own local host, try the file:/// protocol.The way to specify is this - file:///d:/mysvndir/rohit_repo


I had this same problem and found that the version of the svn connector DOES matter.

On my Mac it meant going into Eclipse > Preferences > Team > SVN

And then inside of the "SVN Connector" tab I selected the "SVNKit 1.3.5 r7406 (for SVN 1.6.15, all platforms)" connector and hit "apply".

This fixed it for me, by default it was on the SVN 1.5.6 version which if you just installed SVN you are likely not on that older branch/release.

Make sure the connector version matches the version of SVN you have installed.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜