How to convert changesets to MQ patches

Steve Borho steve at borho.org
Sat Sep 1 15:12:41 CDT 2007


On Sat, 2007-09-01 at 21:50 +0200, Guido Ostkamp wrote:
> Hello,
> 
> I just read how MQ can help to maintain patches to third party software 
> for rebasing to new revisions.
> 
> Question:
> 
> If I already have a standard repository created from some release tarball 
> and have created some changesets (>> 1) regularly, is it still possible to 
> convert these changesets into a set of patches that could be easily 
> imported into a new repository as MQ patches?
> 
> Or alternatively is it possible to convert the (>> 1) changesets into 
> patches in the existing repository and remove the already committed 
> changesets?

Look at the help for 'hg qimport --rev'.  It should do just what you
want.

-- 
Steve Borho (steve at borho.org)
http://www.borho.org/~steve/steve.asc
Key fingerprint = 2D08 E7CF B624 624C DE1F  E2E4 B0C2 5292 F2C6 2C8C




More information about the Mercurial mailing list