login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
git
»
2007
»
October
»
10
Re: inexplicable failure to merge recursively across cherry-picks
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: Miklos Vajna
Subject:
Re: inexplicable failure to merge recursively across cherry-picks
Date: Wednesday, October 10, 2007 - 12:07 pm
On Wed, Oct 10, 2007 at 08:48:31AM -0700, David Brown <git@davidb.org> wrote:
quoted text
> On Wed, Oct 10, 2007 at 08:25:15AM -0700, Linus Torvalds wrote:
quoted text
> >Yes, *some* SCM's have tried to do that. In particular, the ones that are "patch-based" tend to think that patches are "identical" regardless of where they are, and while re-ordering of them is a special event, it's not somethign that changes the fundamental 'ID' of the patch.
quoted text
> >For example, I think the darcs "patch algebra" works that way.
quoted text
> >It's a really horrible model. Not only doesn't it scale, but it leads to various very strange linkages between patches, and it fails the most important part: it means that merges get different results just because people are doing the same changes two different ways.
quoted text
> Actually, specifically darcs, different merges _always_ result in the same > data. It's a fundamental part of is patch algebra. No matter what order > you apply a given set of patches, even with conflicts and reordering, you > always get the same result, or no result. Conflicts are "resolved" by > inserting conflict markers in the file, ordered by the patch ID. It > doesn't matter which order you apply them in, you get the same markers. > Then there will be a merge patch which fixes the markers that someone could > apply, no matter what order the applied the previous patches.
quoted text
> Darcs breaks down in a few places, though.
quoted text
> - The no result. Sometimes, it just can't figure out how to reorder > patches. Even worse, occasionally, the implementation will fail to > terminate try to figure this out. There isn't much to do at this > point, except manually apply the patch, hence generating a new patch > ID.
quoted text
> - It doesn't scale well.
quoted text
> The strange linkages between patches could be thought of as a feature, > since it is basically constraining the order that the patches can be > applied in.
quoted text
> There is a darcs-git project that tries to do the darcs things on top of > git.
quoted text
> Dave > - > To unsubscribe from this list: send the line "unsubscribe git" in > the body of a message to
majordomo@vger.kernel.org
> More majordomo info at
http://vger.kernel.org/majordomo-info.html
thanks, - VMiklos
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
inexplicable failure to merge recursively across cherry-picks
, martin f krafft
, (Tue Oct 9, 6:55 pm)
Re: inexplicable failure to merge recursively across cherr ...
, Linus Torvalds
, (Tue Oct 9, 7:54 pm)
Re: inexplicable failure to merge recursively across cherr ...
, martin f krafft
, (Wed Oct 10, 3:25 am)
Re: inexplicable failure to merge recursively across cherr ...
, David Kastrup
, (Wed Oct 10, 3:33 am)
Re: inexplicable failure to merge recursively across cherr ...
, Linus Torvalds
, (Wed Oct 10, 8:25 am)
Re: inexplicable failure to merge recursively across cherr ...
, David Brown
, (Wed Oct 10, 8:48 am)
Re: inexplicable failure to merge recursively across cherr ...
, Miklos Vajna
, (Wed Oct 10, 12:07 pm)
Re: inexplicable failure to merge recursively across cherr ...
, Linus Torvalds
, (Wed Oct 10, 12:35 pm)
Re: inexplicable failure to merge recursively across cherr ...
, Miklos Vajna
, (Wed Oct 10, 5:08 pm)
Re: inexplicable failure to merge recursively across cherr ...
, Sam Vilain
, (Thu Oct 11, 2:51 pm)
Re: inexplicable failure to merge recursively across cherr ...
, Linus Torvalds
, (Thu Oct 11, 3:33 pm)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
swhiteho
[PATCH 42/51] [GFS2] Move inode deletion out of blocking_cb
FUJITA Tomonori
Re: [Scst-devel] Integration of SCST in the mainstream Linux kernel
Benjamin Herrenschmidt
[git pull] Please pull powerpc.git merge branch
Ingo Molnar
Re: [RFC/RFT PATCH] sched: automated per tty task groups
Vivek Goyal
Re: [PATCH v4] sched: automated per session task groups
git
:
Mike Miller
git message
Junio C Hamano
Re: [PATCH] Detached HEAD (experimental)
Stefan Richter
Re: [kernel.org users] [RFD] On deprecating "git-foo" for builtins
Jeff King
Re: [PATCH] t7004: test that "git-tag -u" implies "-s"
Christian MICHON
Re: VCS comparison table
git-commits-head
:
Linux Kernel Mailing List
libata: disable ATAPI AN by default
Linux Kernel Mailing List
i915: Don't whine when pci_enable_msi() fails.
Linux Kernel Mailing List
Documentation/timers/hpet_example.c: only build on X86
Linux Kernel Mailing List
kbuild: move bounds.h to include/generated
Linux Kernel Mailing List
NFSv4: Move error handling out of the delegation generic code
linux-netdev
:
Arnaldo Carvalho de Melo
Re: [PATCH 06/37] dccp: Limit feature negotiation to connection setup phase
David Miller
Re: 2.6.27.18: bnx2/tg3: BUG: "scheduling while atomic" trying to ifenslave a seco...
Jeff Garzik
Re: [PATCH] drivers/net: remove network drivers' last few uses of IRQF_SAMPLE_RANDOM
David Miller
Re: [PATCH 2/5] dccp: Auto-load (when supported) CCID plugins for negotiation
Chuck Lever
Re: svc: failed to register lockdv1 RPC service (errno 97).
openbsd-misc
:
Stuart Henderson
Re: Kuro5hin: OpenBSD Founder Theo deRaadt Has Conflict of Interest With AMD
Christian Weisgerber
Re: CARP with a single public IP address
Marco Peereboom
Re: OpenBSD culture?
"RALOVICH, Kristóf"
Re: thinkpad windows refund
Kevin
Re: uvm_mapent_alloc: out of static map entries on 4.3 i386
Colocation donated by:
Syndicate