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

RE: Merge tracking: MyServer equals Myserver

From: <Ullrich.Jans_at_elektrobit.com>
Date: Fri, 13 Mar 2009 10:41:11 +0100

Stefan Sperling wrote:
> On Wed, Mar 11, 2009 at 08:04:25AM +0000, Stephen Connolly wrote:
>> I would be wary of somebody typing merge for different
>> protocols...
>
> Why? If the repo is the same, who cares?
>
>> that the hostname resolves to the same ip and the protocols match
>> is IMHO enough
>
> You don't seem to be using the same internet as I am using.
>
> In the one I am using, there are things like changes made to
> DNS, NAT, dynamic IPs, DHCP leases that expire, VPN tunnels
> and ADSL links that go down and up, routers that crash or reboot, etc.
> So you have to assume that clients and servers change their
> IP all the time.
>
> The repository has a Universal Unique Identifier.
> That is the primary key we have for each repository.
> So we use it as such.
>
> Any type of URL pointing to that repository is just so users
> can tell the client where to look for the repository.
> The URL itself cannot be used as a primary key.

What do you all think about adding command line switches that enable/disable these checks? Like --ignore-hostname or --ignore-protocol? The user should know what he's doing, and if he doesn't he probably doesn't know about the switches either. Sensible defaults have to be chosen, though - probably defaults to keep the behaviour the same as it is now.

Cheers,

Ulli

-- 
Ullrich Jans, Application Support, IM
Phone: +49 9131 7701-6627, mailto:ullrich.jans_at_elektrobit.com 
Fax: +49 9131 7701-6333, www.elektrobit.com
Elektrobit Automotive GmbH, Am Wolfsmantel 46, 91058 Erlangen, Germany
Managing Directors: Otto Fößel, Jarkko Sairanen
Register Court Fürth HRB 4886 
----------------------------------------------------------------
Please note: This e-mail may contain confidential information
intended solely for the addressee. If you have received this
e-mail in error, please do not disclose it to anyone, notify
the sender promptly, and delete the message from your system.
Thank you.
Received on 2009-03-13 14:03:07 CET

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.