From: Jim Blandy <jimb@codesourcery.com>
To: Vladimir Prus <ghost@cs.msu.su>
Cc: gdb-patches@sources.redhat.com
Subject: Re: Managing long patch series
Date: Mon, 29 Oct 2007 15:15:00 -0000 [thread overview]
Message-ID: <m3odeige02.fsf@codesourcery.com> (raw)
In-Reply-To: <ffulr7$l92$1@ger.gmane.org> (Vladimir Prus's message of "Sat, 27 Oct 2007 10:28:55 +0400")
Vladimir Prus <ghost at cs.msu.su> writes:
> 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.
Okay, that's interesting. I think I can see how this would be done in
Mercurial, too. I'd done something equivalent to merging into the
middle of the chain with the tracepoint patches; I guess I'll learn
soon enough whether its metadata representation disintegrates. :)
Tom Tromey referred me to Mercurial Queues, which looks really good:
http://hgbook.red-bean.com/hgbookch12.html
The reason I'm so fond of Mercurial is partially that it's quite fast.
You can jump from one place to another easily. I have a tree
which is simultaneously a CVS checkout and a Mercurial repository,
that I use as a gateway between the two; I say, essentially:
cvs update
hg addremove
hg commit -m 'from public CVS'
from time to time, and then I can pull those changesets into whatever
other working copies I have. My .hgignore file tells Mercurial to
ignore the 'CVS' subdirectories, and I just ignore the '?' markers
from CVS for '.hg' and '.hgignore'. It has all worked nicely so far.
It sounds like you're doing something similar with SVK --- unless
you're pushing/pulling from CodeSourcery's internal SVK repository.
next prev parent reply other threads:[~2007-10-29 15:03 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
2007-10-29 15:15 ` Jim Blandy [this message]
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=m3odeige02.fsf@codesourcery.com \
--to=jimb@codesourcery.com \
--cc=gdb-patches@sources.redhat.com \
--cc=ghost@cs.msu.su \
/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