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

Re: $2 in start-commit empty

From: <dev_at_subversion.tigris.org>
Date: 2003-07-10 17:16:37 CEST

# sussman@collab.net / 2003-07-10 08:28:10 -0500:
> Roman Neuhauser <neuhauser@bellavista.cz> writes:
> > I'm accessing a repository over the svn: protocol, and it looks like
> > start-commit only receives one argument, or $2 is null.
>
> svn:// access is unauthenticated, so there's no username. That's why
> $2 is empty. If you want authentication, use svn+ssh:// instead.
>
> Read the section on 'svnserve' in chapter 5 on the book for detailed
> explanation.

    Ok, I followed the instructions in "Setting Up SSH Access":

    "In this scenario, each time the client attempts to contact the
    Subversion repository, a new svnserve process is started on the
    server machine by a local SSH process. There's no need to run a
    standalone svnserve daemon?the client's authenticated SSH connection
    launches a private svnserve process on the server machine, running
    as the authenticated user."

    roman@freepuppy ~/tmp 1086:0 > sudo svnserve -dr /home/svn/repos
    roman_at_freepuppy ~/tmp 1087:0 > svn import svn://localhost/repos . -m 'initimport'
    svn: A repository hook failed.
    svn: 'start-commit' hook failed with error output:
    @: '/home/svn/repos '
    PWD: ''
    pwd: '/'
    REPOS: '/home/svn/repos'
    USER: ''

    roman@freepuppy ~/tmp 1088:1 > sudo killall svnserve
    roman_at_freepuppy ~/tmp 1089:0 > svn import svn+ssh://localhost/usr/home/svn/repos . -m 'initimport'
    socket: Protocol not supported
    roman@localhost's password:
    svn: Couldn't find a repository
    svn: No repository found in 'svn+ssh://localhost/usr/home/svn/repos'
    roman@freepuppy ~/tmp 1090:1 >

    I'm not sure what I screwed this time.

-- 
The From: header's been munged to get rid of unwanted cc's.
My real address: neuhauser@bellavista.cz.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Jul 10 17:24:20 2003

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

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