From: Vladimir Prus <ghost@cs.msu.su>
To: gdb-patches@sources.redhat.com
Subject: Re: Managing long patch series
Date: Sat, 27 Oct 2007 08:11:00 -0000 [thread overview]
Message-ID: <ffulr7$l92$1@ger.gmane.org> (raw)
In-Reply-To: <m3d4v1d815.fsf@codesourcery.com>
Jim Blandy wrote:
>
> Ulrich, I'm curious what techniques you use to manage these long
> strings of patches. Specifically, I was wondering:
>
> - I'm usually working from a fully-patched tree, and then breaking it
> up into digestible pieces for submission. If you are working this
> way as well, do you have a nice way to ensure the decomposed patch
> series remains equivalent to your fully-patched tree?
>
> - Often I find I need to revise an earlier patch in the series, but
> that chance may affect later patches. Do you have a nice way to
> handle this?
>
> Or is it all just "blood, sweat, and tears"? In the software world,
> that approach usually results in "mistakes", but you and your fellow
> IBM GDB hackers seem to do well.
>
> I've tried using quilt, but if one doesn't keep very careful track of
> what's going on things can get very tangled. The Emacs mode helped
> somewhat, but had other flaws, so I set it aside.
>
> I've been tempted to try using Mercurial for this.
I was using SVK for that. I have //patches/patch1/ ... //patches/patchN
then if I modify patchX I use svk smerge to update all later patches.
When mainline changes, I smerge from mainline mirrors to patch1 and then
smerge between (1->2, 2->3, N-1->N).
The only gotcha I found is that you should always apply mainline changes
to the first patch and then propagate it via the chain. If you try
to apply mainline changes to a patch in the middle, SVK mergeinfo
representation may fall appart, and given you random conflicts in
fugure.
- Volodya
next prev parent reply other threads:[~2007-10-27 6:29 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-10-26 18:56 Jim Blandy
2007-10-26 19:26 ` Daniel Jacobowitz
2007-10-29 16:11 ` Jim Blandy
2007-10-27 8:11 ` Vladimir Prus [this message]
2007-10-29 15:15 ` Jim Blandy
2007-10-29 18:59 ` Ulrich Weigand
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='ffulr7$l92$1@ger.gmane.org' \
--to=ghost@cs.msu.su \
--cc=gdb-patches@sources.redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox