Hi,
I am using tortoiseSVN on my laptop, and the repository is at work.
Depending on where I am working (home or office), the repository URL
changes.
home: 123.456.789:8080/svn
work: intranet.company.com/svn
So when accessing the repository from either at home or work, I must
"relocate" my working dirs.
Now in my browsers, I have managed to setup a automatic proxy
configuration file that tells the browser to use either the IP address
(when at home), or the internal address (when at work). This is
supported in all browsers and the proxy config script looks like this:
function FindProxyForURL(url, host) {
// If in the local net, use it as is
if (isInNet(host, "192.168.0.0", "255.255.0.0")) {
return "DIRECT";
}
// or else use the external IP with port
if (dnsDomainIs(host, "intranet.company.com")) {
return "PROXY 123.456.789:8080";
}
return "DIRECT";
}
Once activated, this allows the browser to access the intranet using
intranet.company.com from both places (therefore same bookmarks).
Is there a way to achieve the same thing in TortoiseSVN? Or is there
another approach I should use so I do not have to relocate each time?
I first looked in setting up the HOSTS file but there is no option to
specify the port number requried in the IP address.
Thanks,
Claude
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: users-help@tortoisesvn.tigris.org
Received on Thu Jan 26 18:55:58 2006