You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by "Luke A. Perkins" <lu...@adelphia.net> on 2006/10/01 23:40:58 UTC

svnserve -t and repositories

Can we add an enhancement to svnserve -t so that it does one
of the following:

1) Read an environmental variable, such as SVNSERVE_REPOSITORY,
   to effectively set the -r option.
2) Read a file, such as /usr/local/etc/svnserve.conf to set
   the -r option.

I love to be able to communicate with svn via ssh, however, having
to specify a full repository path is a real pain.

Luke Perkins



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: svnserve -t and repositories

Posted by Alan Barrett <ap...@cequrux.com>.
On Sun, 01 Oct 2006, Luke A. Perkins wrote:
> Can we add an enhancement to svnserve -t so that it does one
> of the following:
> 
> 1) Read an environmental variable, such as SVNSERVE_REPOSITORY,
>    to effectively set the -r option.
> 2) Read a file, such as /usr/local/etc/svnserve.conf to set
>    the -r option.

You could easily do that in a wrapper script, or in an ssh
"authorized_keys" file.  I see no need to change svnserve itself.

> I love to be able to communicate with svn via ssh, however, having
> to specify a full repository path is a real pain.

If you use svn+ssh, then just add the -r option to the "command="
part of the relevant line in the authorized_keys file.  See
<http://svn.haxx.se/users/archive-2006-09/1161.shtml> for a message in
which I explained this in more detail.

You'll probably also want to add ssh-agent and/or ssh connection
multiplexing (sometimes called "connection sharing" or "connection
caching") to the mix, so that you don't have to type passwords so often.

--apb (Alan Barrett)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org