Grouping commits before pushing

Gour gour at atmarama.net
Thu Jan 26 13:04:55 UTC 2012


On Thu, 26 Jan 2012 10:52:22 -0200
Luiz Guilherme Brant Machado <guilhermebrant3 at gmail.com> wrote:

> I'm a new user to the list as well to mercurial, and this is my first
> post.

Welcome. ;)

> I was wondering if there were any way to group some 'commits' in
> Mercurial before pushing. I found something about Mercurial Queues,
> but didn't quite get how to do that with it.

Yes, you can use MQ to toss your patches (aka smaller commits) around
until they are ready. You can even commit them as regular changesets.

Read this http://stevelosh.com/blog/2010/08/a-git-users-guide-to-mercurial-queues/

Then you can combine your patches with qfold, qpush that patch,
qfinalize it and...voila, you'll end with one changeset combining all
your patches.


Sincerely,
Gour

-- 
The devotees of the Lord are released from all kinds of sins 
because they eat food which is offered first for sacrifice. 
Others, who prepare food for personal sense enjoyment, 
verily eat only sin.

http://atmarama.net | Hlapicina (Croatia) | GPG: 52B5C810
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: not available
URL: <http://lists.mercurial-scm.org/pipermail/mercurial/attachments/20120126/3c933ec1/attachment.asc>


More information about the Mercurial mailing list