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

$2 in start-commit empty

From: Roman Neuhauser <neuhauser_at_bellavista.cz>
Date: 2003-07-10 15:24:41 CEST

I guess this this email shows my ignorance, but having found a little
bit more than nothing in the book, I figured I'd ask.

I'm accessing a repository over the svn: protocol, and it looks like
start-commit only receives one argument, or $2 is null.

1. Is this correct?
2. Under what circumstances is it supposed to contain a username?

My start-commit:

#!/bin/sh

REPOS="$1"
USER="$2"

echo "@: '$@'" > /dev/stderr
echo "REPOS: '$REPOS'" > /dev/stderr
echo "USER: '$USER'" > /dev/stderr
exit 15
 
roman_at_freepuppy ~/tmp 1078:0 > svn import svn://localhost/repos . -m 'test'
svn: A repository hook failed.
svn: 'start-commit' hook failed with error output:
@: '/home/svn/repos '
REPOS: '/home/svn/repos'
USER: ''

roman@freepuppy ~/tmp 1078:1 >

-- 
If you cc me or remove the list(s) completely I'll most likely ignore
your message.    see http://www.eyrie.org./~eagle/faqs/questions.html
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Jul 10 15:25:48 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.