gquilt PyGTK GUI wrapper for quilt gets a Mercurial queues (mq) back end

Steve Borho steve at borho.org
Tue Feb 6 14:12:41 UTC 2007


On Tuesday 06 February 2007 06:04:58 am Rafael Villar Burke wrote:
> Peter Williams wrote:
> > I have just released version 0.18 of my gquilt
> > <http://users.bigpond.net.au/Peter-Williams/> program via a freshmeat
> > update.  The major new feature of this release is the ability to use
> > the mq extension to Mercurial as a back end in lieu of quilt (if
> > desired).
>
> Great!. I've updated the description for it on pygtk.org so the new
> Mercurial queues support is reflected.
>
> As a feature request, would you consider adding the possibility of being
> able to split a patch in a series of patches, be it using hunks or,
> better, by selecting some lines that would be removed from the current
> patch and would be splitted into a new patch in the series. That way you
> could easily get fine grained patches without worrying for having about
> it all the time while editing. Maybe rediff in patchutils can help with
> that.

You can do a fair amount of this with Qct.  

If you remove a particular file from a patch (refreshing the patch without 
it), then all of it's changes are left in your working directory.  From there 
you can use the 'change selection' feature to pick the changes in the file 
you want in this patch (you can do this simultaneously to all files in the 
patch).  Once you get the list of changes pruned down to just the first 
patch, you refresh the patch, exit Qct and run 'hg qnew -f newpatch.txt', 
start Qct again and repeat.

This process is currently clunky; it would be nice if Qct automated the 'new 
patch' process for you.  Plus, mq does not allow you to refresh a patch with 
zero files in it (the command line structure of qrefresh doesn't allow it), 
so there has to always be at least one file left in the patch during this 
process.

Just thought I would throw that out there.

-- 
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