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

Re: Unable to checkout a project I don;t have locally from svnserve using Subclipse or TortoiseSVN from outside my network

From: Ulrich Eckhardt <eckhardt_at_satorlaser.com>
Date: 2006-05-24 11:22:01 CEST

On Wednesday 24 May 2006 11:07, Robert Elliot wrote:
> I am running Subversion on a Windows Small Business Server 2003 box on my
> local network, using svnserve wrapped as a service using SrvAny. I am
> accessing it from another machine on my network running the Subclipse
> Eclipse plugin as my client. And it works fine.

Okay.

> However, when I use it or TortoiseSVN from outside my network I get strange
> behaviour. I can log in, browse the remote repository and, if I create a
> new Eclipse project locally, check it in. I can also alter an item in this
> project I have created locally and checked in, check that in, and then
> revert to the older version. But I can't check projects that don't yet
> exist on the client out.

It's not exactly clear what you did and what happened, seeing the actual error
messages would be beneficial, but I can guess one situation that might cause
weird behaviour.

The problem arises when the server-name is different when accessing it from
the local network and from outside. In that case, Subversion doesn't know
that both are in fact the same machines and the same repositories and rightly
refuses to check into one repository something that comes from another
repository.

There are two ways around this that I know of:
1. Use 'svn switch --relocate' to inform SVN of the 'moved' repository.
2. Use a virtual tunnel. This works by installing a tunnel from a port on your
own machine to the port of the server. That way, for subversion it is always
a repository on localhost but the tunnel redirects traffic to the real server
via whatever transport is applicable.

Uli

****************************************************
Visit our website at <http://www.domino-printing.com/>
****************************************************
This Email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this Email in error please notify the system manager.

This footnote also confirms that this Email message has been swept by MailSweeper for the presence of computer viruses.
****************************************************

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed May 24 11:22:39 2006

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.