[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: Mark Eichin <eichin_at_gmail.com>
Date: Fri, 13 Mar 2009 13:12:04 -0400

No, the current behaviour is not a "sensible default" - I've seen it
confuse people, *and* it's wrong from the perspective of what
namespace those strings (the hostname part of the url) come from.

Consider also that doing a merge like this from different repositories
is extraordinarily rare - enough that I'd even suggest that if the
client makes that leap from the comparison it should warn that it's
doing so, because it's probably not what you wanted...

On Fri, Mar 13, 2009 at 5:41 AM, <Ullrich.Jans_at_elektrobit.com> wrote:
> 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.

_Mark_ <eichin_at_thok.org> <eichin_at_gmail.com>
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-03-13 18:13:01 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.