[PATCH 1 of 2] test-init: portability fix

Martin Geisler mg at lazybytes.net
Sun Aug 15 10:43:59 CDT 2010


Dan Villiom Podlaski Christiansen <danchr at gmail.com> writes:

> # HG changeset patch
> # User Dan Villiom Podlaski Christiansen <danchr at gmail.com>
> # Date 1281709209 -7200
> # Node ID 16895d9521f623b6e5b13331c85c1fb59a0880a6
> # Parent  0bbfcfd337cdd10bba709b66291536809da519d0
> test-init: portability fix
>
> The `-n' argument to echo is a non-standard extension that isn't
> supported on Mac OS X 10.6. Instead of using it, the output is split
> over two lines rather than one.

Nice, but I've opted to replace 'echo -n' with 'printf' which we use in
other places where we need better control over the output.

-- 
Martin Geisler

Mercurial links: http://mercurial.ch/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://selenic.com/pipermail/mercurial-devel/attachments/20100815/6a2d3e52/attachment.pgp>


More information about the Mercurial-devel mailing list