Please take our Survey
logo       

Choosing A Webhost:
A web hosting service is a type of Internet hosting service that allows individuals and organizations to provide their own website accessible via the World Wide Web. Web hosts are companies that provide space on a server they own for use by their clients as well as providing Internet connectivity, typically in a data center. Web hosts can also provide data center space and connectivity to the Internet for servers they do not own to be located in their data center, called colocation. more...

Re: ambiguous clean (was Re: [Monotone-devel] Re: [cdv-devel] more merging : msg#00032

version-control.codeville.devel

Subject: Re: ambiguous clean (was Re: [Monotone-devel] Re: [cdv-devel] more merging stuff (bit long...))

Nathaniel Smith wrote:

>
> a
> / \
> b c
> |\ /|
> | X |
> |/ \|
> b c
> |\ /
> | c <-- ambiguous clean merge
> | |
> b |
> \ /
> ? <-- another ambiguous clean merge!

In that case, c should win, because although b beat c, c beat b's beating
of c, therefore c wins.

The problem with ambiguous clean isn't that both sides should lose, it's
that both sides should win. In a normal conflict b and c have never seen
each other. In an 'ambiguous' conflict both sides have seen each other and
beaten the other one. So it really is affirmative on both sides.

Here's another fun one, based on implicit undo:

a
/ \
a b
|\ /|
| X |
|/ \|
a b
|\ /|
| X |
|/ \|
a b
|\ /|
| X |
|/ \|
a b

In this case, which side wins depends on whether the number of layers is
even or odd. That answer is actually obvious if you phrase it as 'the
winner is the side which wasn't manually altered'. In the above diagram,
alternating sides at each layer were altered, but that information isn't
included in the diagram, so the confusing thing is the diagram, not the
algorithm.

> On the other hand, it was partly an exercise in seeing if it was
> possible to make something that rigorous at _all_, and has the
> simplest possible user model I could think of. So I definitely agree
> there's room for improvement!

Yes, it's a step in the right direction, but we want (well, I want) to
pass all of these cases:

a
/ \
d b
\ / \
b c

c wins

a
/ \
| b
| |
b a

b wins (implicit undo)

a
/ \
| b
| |
b c

c wins (convergence)

I've become convinced that convergence is a great idea, because if you
support it properly you magically get cherry-picking support for free,
with no special support for it in the history.

-Bram

>
> -- Nathaniel
>
> --
> Details are all that matters; God dwells there, and you never get to
> see Him if you don't struggle to get them right. -- Stephen Jay Gould
> _______________________________________________
> Codeville-devel mailing list
> Codeville-devel@xxxxxxxxxxxxx
> http://mail.off.net/mailman/listinfo/codeville-devel
>


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
qplus.devel/200...    network.jabber....    debian.qa-packa...    encryption.gpg....    python.dabo.dev...    uclinux.devel/2...    science.mathema...    recreation.pesc...    kernel.ck/2004-...    mozilla.devel.e...    tex.latex.prosp...    ietf.multi6/200...    bbc.cvs/2002-11...    xfree86.newbie/...    jakarta.taglibs...    altlinux.hardwa...    comedi/2002-05/...    horde.bugs/2004...    games.diplomacy...    finance.e-gold....    web.dom.test-su...    lang.ruby.rails...    os.netbsd.devel...    video.gstreamer...   
Home | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe

Navigation