Hi Stefan,
2008/6/4 Stefan Küng <tortoisesvn_at_gmail.com>:
> Gabriel Harrison wrote:
>>
>> Hi,
>>
>> We have recently set up SVN for the first time in debian and have
>> successfully added files to the repository locally on the server and
>> can see them through trac but I can't get tortoiseSVN to connect.
>>
>> If I try to checkout with TortoiseSVN using:
>>
>> svn://xx.xx.xx.xx/home/svn/sacs/
>>
>> I get the error:
>>
>> Error URL 'svn://xx.xx.xx.xx/home/svn/sacs' doesn't exist
>>
>>
>> I guess I'm doing something simple wrong but will give as much info as I
>> can...
>>
>> I'm using svn version 1.4.6 (r28521) and tortoiseSVN version 1.4.8.142137.
>>
>> If I telnet to the server I get this:
>>
>> C:\Documents and Settings\HarriG>telnet xx.xx.xx.xx 3690
>>
>> ( success ( 1 2 ( ANONYMOUS ) ( edit-pipeline svndiff1 absent-entries ) )
>> )
>>
>> This is the content of that folder on the server:
>>
>> tsd07u:/home/svn/sacs# ls
>> conf dav db format hooks locks README.txt svn-commit.tmp
>>
>> Any help would be much appreciated,
>
> Did you pass the '-r' flag to svnserve when you started it?
> Without that, your path most likely won't match...
>
Yes, it looks like it is starting with "-d -r /home/svn/sacs"
My init.d script is below.
tsd07u:/etc/init.d# cat svnserve
#! /bin/sh
PATH=/sbin:/bin:/usr/sbin:/usr/bin
DAEMON=/usr/bin/svnserve
NAME=svnserve
DESC="SVN Repository Server Daemon"
test -x $DAEMON || exit 0
OPTIONS="-d -r /home/svn/sacs"
# Get lsb functions
#. /lib/lsb/init-functions
. /etc/default/rcS
start() {
echo "Starting $DESC... "
# echo "Starting $DESC: "
if ! start-stop-daemon --start --quiet --oknodo --exec $DAEMON
-- $OPTIONS
>/dev/null 2>&1; then
status=$?
echo $status
return $status
fi
log_end_msg 0
return 0
}
case "$1" in
start)
start
;;
stop)
echo "Stopping $DESC: "
start-stop-daemon --stop --quiet --oknodo --exec $DAEMON
echo $?
;;
restart|force-reload)
$0 stop
sleep 1
start
#echo "$NAME."
;;
*)
N=/etc/init.d/$NAME
echo "Usage: $N {start|stop|restart|force-reload}" >&2
exit 1
;;
esac
exit 0
Thanks,
Gabriel
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_tortoisesvn.tigris.org
For additional commands, e-mail: users-help_at_tortoisesvn.tigris.org
Received on 2008-06-04 11:17:01 CEST