>> tl;dr: I need to figure out how I'm going to dig out of the rebasing hole
>> I'm now in, and could use advice/help, and I think the above sequence
>> doesn't work for queues of dependent patches.
>
>If I'm understanding your situation correctly, I believe you can use rebase
>to update a whole queue of dependent patches, provided you have the
>format-source extension enabled.

[snip]

Thanks - that was the sequence I thought might work, after hearing from
pehrsons that the rebase would reformat all the pushed patches.  hg qfin -a
is critical I think.

If I wanted to optimize this, perhaps for each independent sequence:
hg update -r <rev of parent of base patch>; hg qpush (*N);
hg rebase -d PRE_TREEWIDE_CLANG_FORMAT (assuming
this does what I expect); resolve any bitrots;
hg rebase -d <DEST tip>;
(hg qimport -r tip; hg qpop) (*N)

Almost automatable (probably automatable; may not be worth it).

Thanks!  I'll let people know if it works

-- 
Randell Jesup, Mozilla Corp
remove "news" for personal email
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to