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

Re: Somewhat corrupted repository: Berkeley DB Permissions errors on SVN 1.0.2

From: John Peacock <jpeacock_at_rowman.com>
Date: 2004-05-27 17:39:29 CEST

Paul Oppenheim wrote:

> just my 2¢ -- naturally i'm gonna be port-forwarding a svnserve -d

FYI, for a purely *nix style way of making this transparent to the users, place
the following script in a directory located in the PATH before the location of
the normal svn executable:

#!/bin/sh
ssh -f -L 3690:127.0.0.1:3690 your.server.name sleep 10 2>/dev/null
/usr/local/bin/svn $@

Name that file "svn" and you are good to go; the first line sets up a
short-lived (you can adjust that time down) tunnel, which the second line will
use that tunnel for this transaction. I redirected stderr so that if I run this
script more often than once every 10 seconds, I won't see the error that ssh
cannot create a new tunnel on the same port.

HTH

John

-- 
John Peacock
Director of Information Research and Technology
Rowman & Littlefield Publishing Group
4501 Forbes Boulevard
Suite H
Lanham, MD  20706
301-459-3366 x.5010
fax 301-429-5748
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu May 27 17:40:09 2004

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.