Re: RFC: grafts generalised
From: Stephan Beyer <hidden>
Date: 2016-06-15 22:44:53
Hi, On Thu, Jul 03, 2008 at 12:42:30AM +0400, Dmitry Potapov wrote:
On Wed, Jul 2, 2008 at 11:31 PM, Stephan Beyer [off-list ref] wrote:quoted
I wonder if grafts can be used in combination with sequencer in such a way that you rewrite foo~20000..foo~19950 and then fake the parents of foo~19949 to be the rewritten once.I don't think it is a good idea. During the normal work you should never use grafts.
I have written this in the context that Stephen only changes some commits from a long time ago (foo~20000) and then I showed a way how to avoid that sequencer rewrites the rest which takes so long. This is not related to "normal work", but to Stephen's use case (if I got it right). What I've meant, was: Instead of faking a lot of parents, changes and even merges using an extended grafts file, he could rewrite some patches - which can be fast - and then use _only one_ graft to change the parent to the changed and rewritten commit. This can be done iteratively and seems to be a good agreement in speed and reliability. Regards, Stephan -- Stephan Beyer [off-list ref], PGP 0x6EDDD207FCC5040F