p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   BOOK: Professional Joomla! ISBN: 978-0-470-13394-1 (http://p2p.wrox.com/forumdisplay.php?f=362)
-   -   SVN Repository (http://p2p.wrox.com/showthread.php?t=80461)

Hannes August 11th, 2010 08:18 AM

SVN Repository
Hi, I am trying to setup EasyEclipse and SVN. I have the latest versions of EasyEclipse for PHP and Tortoisesvn installed on Windows XP and Xampp. When I try and add a project to the SVN Repository the URL I enter is http://localhost/SVN_Repository but get the following error (Repository location C:\xampp\htdocs\SVN_Repository).

svn: PROPFIND of '/SVN_Repository': 301 Moved Permanently (http://localhost)

What URL do I need to enter, I have looked on the web and tried other suggestions but other errors like below when the Repository location is C:/svn_repository

Couldn't open a repository
svn: Unable to open an ra_local session to URL
svn: Unable to open repository 'file:///C:/svn_repository'
Unsupported FS format
svn: Expected FS format '2'; found format '4'


Lochman August 28th, 2010 10:00 AM

Hi Hannes,

I've just been through the same problem with EasyEclipse and TortoiseSVN and what it comes down to is that the repository created by TortoiseSVN is not compatible with the version expected by Eclipse.

I tried fora for both applications without any joy but, eventually, discovered a comment somewhere that suggested using the command line utility "svnadmin" to create a repository that is compatible with both applications.

I downloaded this from Slik Subversion and used it successfully to create a repository folder that can be read by both TortoiseSVN and Eclipse. However, you have to ensure that you use an option to create an older version than the default.

When you've installed Subversion, create an ordinary folder in your chosen place for a repository and open a command line editor there. Run the command: "svnadmin help create".

This will show you various options available and you need "--pre-1.5-compatible". Use this to create the repository structure in this folder and you should then find that it is recognised by both of the other applications.

Hope this is clear and works for you! [:)]

Hannes August 30th, 2010 05:17 AM

That worked. Thanks a mil....[:)]

All times are GMT -4. The time now is 03:08 AM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.