[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Problems getting subclipse to work on mac os x with subclipse

From: Ryan Schmidt <subversion-2009b_at_ryandesign.com>
Date: Thu, 13 Aug 2009 01:16:03 -0500

On Aug 12, 2009, at 06:21, Stef Kuypers wrote:

> On 11-Aug-09, at 22:21, Ryan Schmidt wrote:
>> On Aug 11, 2009, at 08:05, Stef Kuypers wrote:
>>> I've installed the openCollabNet binary package of subversion for
>>> mac
>>> os x, I installed the latest version of Eclipse (3.5) and subclipse
>>> (1.6.4), I am running the svnserve application as a standalone
>>> daemon
>>> and I used the svnadmin command line tool to make a repository
>>> (although I thought this should be possible using subclipse).
>>> I still don't manage to create a new repository location in
>>> subclipse.
>>> I keep getting connection refused and no repository found errors.
>>> I've been scouting the internet for a solution but to no avail. Is
>>> there someone who can give me a solution to this problem?
>>> I only want to set up a single user local subversion repository .
>> You'll need to supply more detail. What version of Mac OS X? Where
>> on disk is the repository -- what was the path you passed to
>> svnadmin create? How are you running svnserve -- with what -r
>> parameter, if any? What URL are you trying to check out from? What
>> error message exactly did you get? Have you tried enabling logging
>> in svnserve, and if so what does the log say?
> Hi there,
> Thanks for your reaction. And thank you for the questions too! It
> solved the problem of creating a new repository in subclipse.I
> completely overlooked the -r option.
> However, my problems aren't over yet.
> I am using the latest version of OS X, being 10.5.8.
> The repositories are located in my home directory under Programming/
> repositories
> The name of the only repository I have now is svn_prof
> I went to the repositories directory and the executed the following
> command:
> svnadmin create svn_prof
> I am running the svnserve with -d and -r . (launched from within
> the repositories directory)
> When I want to add my project to this repository (using 'Share
> project' from within Eclipse) I now get the following messages:

I'm not familiar with the terminology Subclipse uses...

> Filesystem has no item
> svn: URL 'svn://localhost/svn_prof/vetrasoft-app' non-existent in
> that revision

...but presumably Subclipse tried to put something inside the
directory vetrasoft-app in the repository, but that directory did not
exist. So your instinct to try to create the directory was correct:

> mkdir --parents -m "Initial import." svn://localhost/svn_prof/
> vetrasoft-app
> Authorization failed

You mean "svn mkdir"?

I'm not experienced in diagnosing authorization issues but perhaps
someone else on the list is, if you will provide more detail, such as
how you've set up your authorization and what username you supplied
to the svn command (or what authorization was already cached in your
auth cache).

> Do I need to use sudo to run svnserve? What would be the best way
> to get svnserve running in the first place? Or do I need to start
> it up using the command line every time?

You don't need sudo; you just need to run svnserve as whatever user
you want the repository to be owned by. I think people often create
an svn user and run svnserve as that (and chown the repository to
that user).

You can use whatever method of starting the svnserve process that you
like. On Mac OS X, launchd is a popular method of getting daemons to
start at system startup.



P.S: Don't forget to Reply All so your reply goes to the list too,
not just to me.


To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-08-13 08:17:20 CEST

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.