On 2/16/07, Chris.Fouts@qimonda.com <Chris.Fouts@qimonda.com> wrote:
> >-----Original Message-----
> >From: Andy Levy [mailto:andy.levy@gmail.com]
> >Sent: Friday, February 16, 2007 2:04 PM
> >To: Fouts Christopher (QNA RTP PT PREV)
> >Cc: users@subversion.tigris.org
> >Subject: Re: svnserve --forground
> >
> >On 2/16/07, Chris.Fouts@qimonda.com <Chris.Fouts@qimonda.com> wrote:
> >> svnserve --help says this is a valid command, but I get an
> >error when
> >> I run it. Is it just NOT supported in 1.4.2?
> >
> >Is your Subject line a typo, is that what you're actually
> >running? The switch is --foreground, not --forground.
> >
> >C:\>svnserve --foreground
> >You must specify exactly one of -d, -i, -t or -X.
> >Type 'svnserve --help' for usage.
> >
> >C:\>svnserve --version
> >svnserve, version 1.4.0 (r21228)
> > compiled Sep 11 2006, 17:46:59
> >
>
> Yes sorry, it's a typo.
>
> > svnserve --help
> usage: svnserve [options]
>
> Valid options:
> -d [--daemon] : daemon mode
> --listen-port arg : listen port (for daemon mode)
> --listen-host arg : listen hostname or IP address (for daemon
> mode)
> --foreground : run in foreground (useful for debugging)
> -h [--help] : display this help
> --version : show program version information
> -i [--inetd] : inetd mode
> -r [--root] arg : root of directory to serve
> -R [--read-only] : force read only, overriding repository
> config file
> -t [--tunnel] : tunnel mode
> --tunnel-user arg : tunnel username (default is current uid's
> name)
> -T [--threads] : use threads instead of fork
> -X [--listen-once] : listen once (useful for debugging)
> --pid-file arg : write server process ID to file arg
>
> Why does "svnserve --foreground" not work?
Please define "not work".
I just did the following in one CMD window:
C:\>svnserve --foreground -d --root c:/Repositories/test
It then sits there, no prompt returned, as svnserve is sitting there, listening.
From a second window:
C:\>svn ls svn://localhost/
Old/
Playgrounds/
C:\>
Seems to work for me.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Feb 16 20:23:07 2007