login
Login
/
Register
Search
Header Space
Forums
News
Jobs
Blogs
Features
Man Pages
Site
Home
»
Mailing list archives
»
git
»
2007
»
October
»
10
Re: inexplicable failure to merge recursively across cherry-picks
view
thread
Score:
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From:
Miklos Vajna <vmiklos@...>
To: David Brown <git@...>
Cc: Linus Torvalds <torvalds@...>, martin f krafft <madduck@...>, git discussion list <git@...>
Subject:
Re: inexplicable failure to merge recursively across cherry-picks
Date: Wednesday, October 10, 2007 - 3: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, 9:55 pm)
Re: inexplicable failure to merge recursively across cherry-...
, Linus Torvalds
, (Tue Oct 9, 10:54 pm)
Re: inexplicable failure to merge recursively across cherry-...
, martin f krafft
, (Wed Oct 10, 6:25 am)
Re: inexplicable failure to merge recursively across cherry-...
, Linus Torvalds
, (Wed Oct 10, 11:25 am)
Re: inexplicable failure to merge recursively across cherry-...
, Sam Vilain
, (Thu Oct 11, 5:51 pm)
Re: inexplicable failure to merge recursively across cherry-...
, Linus Torvalds
, (Thu Oct 11, 6:33 pm)
Re: inexplicable failure to merge recursively across cherry-...
, David Brown
, (Wed Oct 10, 11:48 am)
Re: inexplicable failure to merge recursively across cherry-...
, Miklos Vajna
, (Wed Oct 10, 8:08 pm)
Re: inexplicable failure to merge recursively across cherry-...
, Miklos Vajna
, (Wed Oct 10, 3:07 pm)
Re: inexplicable failure to merge recursively across cherry-...
, Linus Torvalds
, (Wed Oct 10, 3:35 pm)
Re: inexplicable failure to merge recursively across cherry-...
, David Kastrup
, (Wed Oct 10, 6:33 am)
Navigation
Create content
Mailing list archives
Recent posts
Mail archive search
Enter your search terms.
all mailing lists
alsa-devel
dragonflybsd-bugs
dragonflybsd-commit
dragonflybsd-docs
dragonflybsd-kernel
dragonflybsd-submit
dragonflybsd-user
freebsd-announce
freebsd-bugs
freebsd-chat
freebsd-cluster
freebsd-current
freebsd-drivers
freebsd-embeded
freebsd-fs
freebsd-hackers
freebsd-hardware
freebsd-mobile
freebsd-net
freebsd-performance
freebsd-pf
freebsd-security
freebsd-security-notifications
freebsd-threads
git
git-commits-head
linux-activists
linux-arm
linux-ath5k-devel
linux-btrfs
linux-c-programming
linux-driver-devel
linux-ext4
linux-fsdevel
linux-ia64
linux-input
linux-kernel
linux-kernel-janitors
linux-kernel-mentors
linux-kernel-newbies
linux-kvm
linux-net
linux-netdev
linux-newbie
linux-nfs
linux-raid
linux-scsi
linux-security-module
linux-sparse
linux-usb
linux-usb-devel
madwifi-devel
netbsd-announce
netbsd-tech-kern
openbsd-announce
openbsd-bugs
openbsd-ipv6
openbsd-misc
openbsd-security-announce
openbsd-smp
openbsd-source-changes
openbsd-tech
openfabrics-general
openmoko-community
openmoko-devel
openmoko-kernel
reiserfs-devel
tux3
ucarp
Optionally limit your search to a specific mailing list.
advanced
Popular discussions
linux-kernel
:
Bart Van Assche
Integration of SCST in the mainstream Linux kernel
Con Kolivas
Re: [ANNOUNCE] RSDL completely fair starvation free interactive cpu scheduler
David Miller
[GIT]: Networking
Alan Stern
Re: [linux-pm] Re: Hibernation considerations
git
:
Junio C Hamano
Re: git-diff on touched files: bug or feature?
Johannes Schindelin
Re: MinGW port - initial work uploaded
Kay Sievers
Re: Rss produced by git is not valid xml?
Marek Zawirski
[EGIT PATCH 00/31] Push GUI, GUI improvements, various jgit stuff
openbsd-misc
:
frantisek holop
nptd regression in 4.2
Thilo Pfennig
OpenBSD project goals
Luca Dell'Oca
Authenticate squid in Active Directory
Richard Stallman
Real men don't attack straw men
linux-netdev
:
Julius Volz
[PATCHv3 00/24] Add first IPv6 support to IPVS
Paul Moore
[RFC PATCH v4 01/14] netlabel: Remove unneeded in-kernel API functions
David Miller
Re: [PATCH net-2.6.25 1/10][NETNS][FRAGS]: Move ctl tables around.
Wenji Wu
Re: RE: A Linux TCP SACK Question
Latest forum posts
How to exec user process in kernel mode.
1 day ago
Linux kernel
[IPSEC]IPSEC_MANUAL_REQID_MAX
1 day ago
Linux kernel
help in UDP catching module..
2 days ago
Linux kernel
Is there anything like Real-time drivers?
4 days ago
Linux general
ns16550 serail console in Linux 2.6.19
4 days ago
Linux general
what class should i use to register my devices
4 days ago
Linux kernel
reset bios pasword toshiba
5 days ago
Hardware
Analysis of Process Scheduling
6 days ago
Linux kernel
RT Kernel and SSH Server Panics
6 days ago
Linux kernel
Resetting the bios password for Toshiba Laptop
6 days ago
Hardware
Show all forums...
Recent Tags
Tux3
-rc4
2.6.27-rc5
Andrew Morton
filesystem
-rc
quote
Daniel Phillips
2.6.27
Linux
Linus Torvalds
H. Peter Anvin
-rc5
more tags
Colocation donated by:
Who's online
There are currently
5 users
and
914 guests
online.
Online users
Mr_Z
iq-0
kingneutron
Jeremy
camh
Syndicate
speck-geostationary