[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Monotone-devel] merge conflicts
From: |
Zack Weinberg |
Subject: |
Re: [Monotone-devel] merge conflicts |
Date: |
Wed, 16 Dec 2009 16:34:18 -0800 |
On Wed, Dec 16, 2009 at 1:43 PM, Hugo Cornelis <address@hidden> wrote:
> This behavior makes it hard if not impossible to fully automate
> regression testing for a software product.
>
> From viewpoint of the concepts, I would think that a merge conflict
> resolution implemented by one user and pushed to a central repository,
> would be honored automatically by repositories that only pull from
> that central repository, such that these 'pull-only repositories' can
> continue to serve their task. But our experience indicates otherwise:
> after manual resolution of all merge conflicts in one repository that
> occasionally syncs with the central server, we still have to go
> through other repositories that only pull from the server to resolve
> what is essentially the same conflict. This behavior just seems
> incorrect.
Me and njs spent quite some time with a whiteboard back in the day,
trying to convince ourselves that the least common ancestor selection
algorithm would not do this. I think you have found a bug. Thing is,
though, it's gonna be something obscure and specific to your use
pattern, because all the simple scenarios are already in the test
suite.
Can you please try to write a shell script that demonstrates the
effect by a sequence of commit, merge, and sync operations on
synthetic databases? That will make it much easier to figure out
what's going on. I could try to write one based on your description
of the problem, but I estimate at least 75% chance I won't be able to
make it happen.
zw
- [Monotone-devel] merge conflicts, Mando Rodriguez, 2009/12/03
- Re: [Monotone-devel] merge conflicts, Thomas Keller, 2009/12/03
- Message not available
- Re: [Monotone-devel] merge conflicts, Thomas Keller, 2009/12/04
- Message not available
- Message not available
- Re: [Monotone-devel] merge conflicts, Mando Rodriguez, 2009/12/11
- Re: [Monotone-devel] merge conflicts, Stephen Leake, 2009/12/12
- Re: [Monotone-devel] merge conflicts, Thomas Keller, 2009/12/12
- Re: [Monotone-devel] merge conflicts, Stephen Leake, 2009/12/12
- Re: [Monotone-devel] merge conflicts, Stephen Leake, 2009/12/12
- Re: [Monotone-devel] merge conflicts, Hugo Cornelis, 2009/12/16
- Re: [Monotone-devel] merge conflicts, Stephen Leake, 2009/12/16
- Re: [Monotone-devel] merge conflicts,
Zack Weinberg <=
- Re: [Monotone-devel] merge conflicts, hendrik, 2009/12/16