Feature Request: Alternative URL/IP for one project

38 views
Skip to first unread message

Mathias Schusser

unread,
Mar 1, 2021, 11:14:08 AM3/1/21
to TortoiseSVN
Hi TortoiseSVN-Team,

I would like to request the following feature that I think can be very helpful not only for me but for others as well.

Given situation:
The SVN server of the company I work for is reachable via DSL (backup) and LTE (main) and therefore has two slightly different URLs to one and the same project.

Problem:
If one connection is dead (temporary technical issues) I don't want to check out the same project into a second folders on my disk as it would require double the memory and therefore is  not very nice for large projects.

Suggested Solution / Feature: 
It would be nice to define a "Primary URL" and a "Secondary URL" when checking out projects from a server. In case the primary URL is not reachable or a timeout occurs the secondary URL (if given) is used/tried and if this one fails too the error messages are returned to the user. 

Kind regards,
Mathias Schusser

Stefan

unread,
Mar 1, 2021, 11:45:00 AM3/1/21
to TortoiseSVN
I don't think this can even work: you have two different repositories which are not necessarily in the same state or at the same revision.
However if you have one repo that is accessible via two different urls, then you can achieve the same effect via DNS settings.

Mathias Schusser

unread,
Mar 1, 2021, 12:02:00 PM3/1/21
to TortoiseSVN
In my example the two URLs indeed map to exactly the same repo on the server side.
So there would need to be a check if the repo from URL1 is the same as the one from URL2  (I don't know if such a check is even possible).

Could you provide me with a step-by-step manual (for Windows) on to achieve the effect you described via DNS?
Are the DNS settings done within the software limits of TortoiseSVN (as I couldn't find DNS settings within the TortoiseSVN GUI, only Network->Proxy) or
do I need to change something like my network adapter settings / windows hosts file, which I don't want to modify (both).

Sorry if I am bothering you with this topic, but I really appreciate your help.

lorenz

unread,
Mar 2, 2021, 2:42:08 AM3/2/21
to torto...@googlegroups.com
You can use "relocate" to change the URL of a working copy
--

Lorenz

Stefan

unread,
Mar 6, 2021, 3:13:35 AM3/6/21
to TortoiseSVN

Could you provide me with a step-by-step manual (for Windows) on to achieve the effect you described via DNS?
Are the DNS settings done within the software limits of TortoiseSVN (as I couldn't find DNS settings within the TortoiseSVN GUI, only Network->Proxy) or
do I need to change something like my network adapter settings / windows hosts file, which I don't want to modify (both).


you have to do this with your company DNS server. It can be configured so that the same URL can be used, but depending on where you access it from the IP returned from the DNS will be different. But this needs to be done by your IT department (assuming they know what they're doing).

Stefan
Reply all
Reply to author
Forward
0 new messages