Making mq use git-style patches (was Re: Issues using mq on large projects)
L. David Baron
dbaron at dbaron.org
Mon Mar 5 00:38:26 UTC 2007
On Sunday 2007-03-04 15:35 -0600, Matt Mackall wrote:
> On Sun, Mar 04, 2007 at 10:36:53PM +0100, solo turn wrote:
> > On 3/4/07, Alexis S. L. Carvalho <alexis at cecm.usp.br> wrote:
> > >Thus spake L. David Baron:
> > >> (4) Binary files in patches end up getting dropped (as a consequence of
> > >> the patch storage mechanism).
> > >
> > >Putting something like this in ~/.hgrc should fix this:
> > >
> > >[defaults]
> > >qrefresh = --git
> >
> > above the anser was:
> > [diff]
> > git=1
> One sets all diffs to use git-style patches, the other sets only
> qrefresh to use them.
For what it's worth, using
[defaults]
qrefresh = --git
also has the disadvantage that "hg qnew -f" doesn't use --git (using
0.9.3).
Perhaps hg qnew -f should invoke qrefresh with its default options
to avoid this inconsistency?
-David
--
L. David Baron <URL: http://dbaron.org/ >
Technical Lead, Layout & CSS, Mozilla Corporation
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.mercurial-scm.org/pipermail/mercurial/attachments/20070304/717959a6/attachment-0001.asc>
More information about the Mercurial
mailing list