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

Will Maier willmaier at ml1.net
Sun Jul 15 15:12:43 CDT 2007


On Sun, Jul 15, 2007 at 10:42:35PM +0300, Giorgos Keramidas wrote:
> IIRC, the patch(1) utility on OpenBSD is not based on GNU
> patch(1), but it is a BSD-licensed rewrite.

OpenBSD actually uses Larry Wall's original patch(1), though a few
modifications have been made in the time it's been in the tree. GNU
patch(1) started from this code, but has since diverged.

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

That addresses the specific issue, but not the larger problem of
relying on system tools that are often inconsistent. Almost a dozen
tests fail on OpenBSD right now because of the system's patch
implementation. Most of these failures are cosmetic (meaning the
operation succeeds but the output differs), but I'm still looking
into a few that show different/broken functionality.

-- 

[Will Maier]-----------------[willmaier at ml1.net|http://www.lfod.us/]


More information about the Mercurial-devel mailing list