New to Mercurial and I have some questions

Steve Borho steve at borho.org
Tue Oct 23 09:45:54 CDT 2007


On Tue, 2007-10-23 at 08:16 -0500, jay graves wrote:
> On 10/23/07, Marcin Kasperski <Marcin.Kasperski at softax.com.pl> wrote:
> > You just shouldn't use hg push. Export individual patches and apply
> > them.  A few techniques seem possible. You can hg email (to export
> > selected patches from working dir) and hg import (to import them to
> > QA) but in a long term using MQ may be a better idea (there the task
> > of aggregating/modifying changes will be easier too, also it is easy
> > to apply/unapply selected patches in working dir when appropriate,
> > reorder them etc).
> 
> I've tried using patches but I could never get it to work correctly.
> I'll keep at it.  As far as MQ goes, it did seem the most similar to
> what I wanted to do but I was hung up on the binary file issue.  ( I
> need image files for my webapp).   Also it seems too heavy for what I
> wanted.  Again it is probably my misunderstanding about how Mercurial
> works.

When your using MQ to manage binary files, you have to enable git diffs.
Add to your ~/.hgrc

[diff]
git = 1

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