Re: RFC: grafts generalised
- From
Stephan Beyer <s-beyer@gmx.net>
- Date
- Jul 2, 2008, 23:46 UTC
- Message-ID
- <20080702234644.GC21297@leksak.fem-net>
- In-Reply-To
- <37fcd2780807021342j75f351a5sa525b892caedf965@mail.gmail.com>
Hi,
On Thu, Jul 03, 2008 at 12:42:30AM +0400, Dmitry Potapov wrote:
Show 7 quoted lines
> On Wed, Jul 2, 2008 at 11:31 PM, Stephan Beyer <s-beyer@gmx.net> wrote: > > 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 <s-beyer@gmx.net>, PGP 0x6EDDD207FCC5040F