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

Re: config files: server

From: Michael Wood <mwood_at_its.uct.ac.za>
Date: 2003-05-12 16:34:57 CEST

On Mon, May 12, 2003 at 03:57:08PM +0200, R. Welz wrote:
> Hi.
> Now I have in /etc/hosts
> 192.168.1.10 www.robert.com
> and in /etc/subversion/servers
>
> [groups]
> svn = www.robert.com:65535

I'm not sure the config code expects a port number here. Try without
it.

> ### Information for the first group:
> [svn]
> http-compression = yes
>
> and
> svn checkout svn/svn/repos/trunk/Hallo_Welt/perl

I think you have a misconception about what the servers config file is
for. The above svn checkout command will not work. You need to specify
the full URL. The servers file is for specifying proxy servers or
tunnels and things like whether or not to use compression etc. It's not
meant to shorten your checkout commands.

> gives nothing, not even an error.

I would have expected "svn checkout svn/svn/repos/trunk/Hallo_Welt/perl"
to give an error. If it does not, I believe that's a bug.

If I try this sort of thing, svn does indeed not complain and also
appears not to do anything:

$ svn --version
svn, version 0.20.1 (r5467)
   compiled Apr 2 2003, 22:35:02
[...]

$ svn co blah
$ echo $?
0
$ svn co blah something
svn: Bogus URL
svn: `blah' does not appear to be a URL
$ echo $?
1
$

> Can it be that hard?
>
> This one works:
> svn checkout
> http://192.168.123.123:65535/svn/repos/trunk/Hallo_Welt/perl

-- 
Michael Wood <mwood@its.uct.ac.za>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon May 12 16:35:56 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.