[PATCH] tests: fix test-git-import.out

Giorgos Keramidas keramida at ceid.upatras.gr
Sun Jul 15 14:42:35 CDT 2007

On 2007-07-15 07:59, Will Maier <willmaier at ml1.net> wrote:
>On Sun, Jul 15, 2007 at 03:31:56PM +0300, Giorgos Keramidas wrote:
>> Where can we find more information about this sort of <TAB>
>> handling in GNU patch, to see if there is a way to fix the FreeBSD
>> and Solaris patch(1) utilities to match what GNU patch does?
> This particular bug doesn't affect OpenBSD, but patch(1) there
> isn't all that GNU-alike, either. I spent a few hours last week
> trying to make the test suite pass on OpenBSD, and I just don't
> think it's possible with the system's patch binary.

IIRC, the patch(1) utility on OpenBSD is not based on GNU patch(1),
but it is a BSD-licensed rewrite.  Of course, this is irrelevant, but
if it's easy to support the new <TAB>-based patch style in FreeBSD
it's a worthy goal.  It will be nice to be able to support Mercurial
with "standard base system" tools.

> As has been said on IRC a few times, the real solution is to use
> mpatch. I started to poke at that last week, too, but experienced
> some oddities that I'm still trying to figure out.

That's one option, indeed :-)

- Giorgos

More information about the Mercurial-devel mailing list