You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by untz <un...@yahoo.com> on 2005/12/18 04:29:40 UTC

Newbie Question for Subversion on OS X Tiger

Hello there!

I just installed Subversion 1.2.3 on OS X Tiger from:

http://metissian.com/projects/macosx/subversion/

Being fairly new to this tool, this is what I did...

1. Created a empty directory for my repository (src-repos) in / 
Developer by doing this:

mkdir /Developer/src-repos

2. Used svnadmin:

svnadmin create /Developer/src-repos

So far so good... I then created an directory called 'tmpdir' and put  
2 text files inside it:

1. Day.txt

Which contains:

Monday
Tuesday
Wednesday
Thursday
Friday

2. Number.txt

Which contains:

one
two
three
four
five

Now, when I tried to import both of these txt files into the src- 
repos repository into a project called 'sesame', I received an error...

This is what I did and what subsequently happened:

Raven:~/tmpdir untz$ svn import -m "importing Sesame project" .  
file://Developer/src-repos/sesame/trunk
subversion/libsvn_ra_local/ra_plugin.c:285: (apr_err=170000)
svn: Unable to open an ra_local session to URL
subversion/libsvn_ra_local/split_url.c:72: (apr_err=170000)
svn: Local URL 'file://Developer/src-repos/sesame/trunk' contains  
unsupported hostname

What am I possibly doing wrong?

Any suggestions, advice, and help will be greatly appreciated....

Kindest regards,

Unnsse

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: Newbie Question for Subversion on OS X Tiger

Posted by Dave Camp <da...@thinbits.com>.
In addition, /Developer is probably not a good place to keep your  
repository. A new copy of Developer Tools might blow that away, since  
Apple owns that directory.

FWIW, I put my repositories in /svn

Dave

On Dec 17, 2005, at 8:43 PM, Robert Sesek wrote:

> Hi Unnsse,
>
> You're specifying the repository URL incorrectly. You need to  
> specify it file:///Developer/src-repos/sesame/
>
> Think of it like this: file:// is like http:// but then you have to  
> specify the path to the repository and that's /Developer/src-repos/ 
> sesame/ and hence you need three slashes.
>
> Secondly, unless you created a "trunk" directory in the repository,  
> this will not exist. By default, the repository is completely empty  
> and does not have anything--no folders or files--in it. So you'd  
> need to import the standard directory structure (branches/, tags/,  
> and trunk/) if you want it.
>
> Hope this helps!
> Robert
>
> On Dec 17, 2005, at 8:29 PM, untz wrote:
>>
>> Now, when I tried to import both of these txt files into the src- 
>> repos repository into a project called 'sesame', I received an  
>> error...
>>
>> This is what I did and what subsequently happened:
>>
>> Raven:~/tmpdir untz$ svn import -m "importing Sesame project" .  
>> file://Developer/src-repos/sesame/trunk
>> subversion/libsvn_ra_local/ra_plugin.c:285: (apr_err=170000)
>> svn: Unable to open an ra_local session to URL
>> subversion/libsvn_ra_local/split_url.c:72: (apr_err=170000)
>> svn: Local URL 'file://Developer/src-repos/sesame/trunk' contains  
>> unsupported hostname
>>
>> What am I possibly doing wrong?
>>
>> Any suggestions, advice, and help will be greatly appreciated....


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: Newbie Question for Subversion on OS X Tiger

Posted by Robert Sesek <rs...@iris-studios.com>.
Hi Unnsse,

You're specifying the repository URL incorrectly. You need to specify  
it file:///Developer/src-repos/sesame/

Think of it like this: file:// is like http:// but then you have to  
specify the path to the repository and that's /Developer/src-repos/ 
sesame/ and hence you need three slashes.

Secondly, unless you created a "trunk" directory in the repository,  
this will not exist. By default, the repository is completely empty  
and does not have anything--no folders or files--in it. So you'd need  
to import the standard directory structure (branches/, tags/, and  
trunk/) if you want it.

Hope this helps!
Robert

On Dec 17, 2005, at 8:29 PM, untz wrote:

> Hello there!
>
> I just installed Subversion 1.2.3 on OS X Tiger from:
>
> http://metissian.com/projects/macosx/subversion/
>
> Being fairly new to this tool, this is what I did...
>
> 1. Created a empty directory for my repository (src-repos) in / 
> Developer by doing this:
>
> mkdir /Developer/src-repos
>
> 2. Used svnadmin:
>
> svnadmin create /Developer/src-repos
>
> So far so good... I then created an directory called 'tmpdir' and  
> put 2 text files inside it:
>
> 1. Day.txt
>
> Which contains:
>
> Monday
> Tuesday
> Wednesday
> Thursday
> Friday
>
> 2. Number.txt
>
> Which contains:
>
> one
> two
> three
> four
> five
>
> Now, when I tried to import both of these txt files into the src- 
> repos repository into a project called 'sesame', I received an  
> error...
>
> This is what I did and what subsequently happened:
>
> Raven:~/tmpdir untz$ svn import -m "importing Sesame project" .  
> file://Developer/src-repos/sesame/trunk
> subversion/libsvn_ra_local/ra_plugin.c:285: (apr_err=170000)
> svn: Unable to open an ra_local session to URL
> subversion/libsvn_ra_local/split_url.c:72: (apr_err=170000)
> svn: Local URL 'file://Developer/src-repos/sesame/trunk' contains  
> unsupported hostname
>
> What am I possibly doing wrong?
>
> Any suggestions, advice, and help will be greatly appreciated....
>
> Kindest regards,
>
> Unnsse
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
>

Robert Sesek
Email: rsesek@iris-studios.com
www.iris-studios.com


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org