Partial merge (or maybe cherry picking)?
Frank Hu
frank1998 at gmail.com
Wed Mar 4 10:46:27 CST 2009
Hi, Group,
I don't know if "partial merge" is the right term to describe my
problem. I have a project, say with source files a.c, b.c and c.c,
and I branched out to try some new features, mostly modifying a.c and
b.c. So I have the default branch and the feature branch (named
branch in the repo). At some point, I found a bug in c.c,say at
revision 10, and fixed it. Now I'd like the default branch to have
the fixed c.c too. Is there an easy way to do that? I don't want to
merge the two branches, because a.c and b.c are significantly
different between the two branches. I guess I could do an update and
a revert in the default branch, but is there anything else I can do?
Thanks,
Frank
More information about the Mercurial
mailing list