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

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

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Tue, 08 Jan 2013 19:59:55 +0100

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=3041893
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2013-01-08 20:00:08 CET

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