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

RE: Re: Pre connect hook to relocate a working copy prior committing/updating?

From: Fabian Trampusch <fabian.trampusch_at_freenet.de>
Date: Tue, 8 Jan 2013 13:31:54 -0800 (PST)

Hello,
thanks for your reply.

When i am accessing the SVN from my laptop from outside the local network i need to use the external IP.
I've also thought about a little DNS server running on localhost. If it is inside the local network the IP is resolved to the internal one, if it is outside it resolves the ip to the external one. Unfortunately this didn't work very well.

> On 08.01.2013 09:14, Fabian Trampusch wrote:
> > Hi!
> > I've got a problem with the access to my repository.
> > I've set up a svn repository on my homelinux.
> > It it is behind a router.
> >
> > If i try to access the server from work i use a dynamic DNS to resolve the external IP of my homelinux, it is behind a router.
> > When i am at home i need to relocate the working copy to use the internal IP of the svn server, because the router doesn't forward the internal request to my external ip.
> > When i am the next day at work i have to relocate the repository again to use the dynamic DNS again.
> >
> > I want to automate the relocate process.
> >
> > Would it be possible to use a small pre connect script in tortoise svn, in which the repository is relocated if it needs to, to solve the problem?
> > I am open to all other suggestions
>
> I think the best way to solve this would be to edit your hosts file and
> just add the DNS to your local ip in there.
>
>
> --
> ___
> oo // \\ "De Chelonian Mobile"
> (_,\/ \_/ \ TortoiseSVN
> \ \_/_\_/> The coolest interface to (Sub)version control
> /_/ \_\ http://tortoisesvn.net

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=3041923

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2013-01-09 02:38:18 CET

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