[PATCH v2] tests: correct quoting of double quotes in here documents used to write hooks
Patrick Mézard
patrick at mezard.eu
Sun Sep 9 05:42:13 CDT 2012
Le 03/09/12 18:28, Jim Hague a écrit :
> # HG changeset patch
> # User Jim Hague <jim.hague at acm.org>
> # Date 1346689550 -3600
> # Branch stable
> # Node ID 80af2434997e9c5794e3fa332352443c96b3eecd
> # Parent 3ee5d3c372fabcf57c305835dac98da78bdc1837
> tests: correct quoting of double quotes in here documents used to write hooks
>
> Some shells, e.g. ksh89, will emit \" in a here document as ",
> while others will emit \". To be sure of getting \", we specify \\".
>
> This gets test-commit-amend.t and test-largefiles.t working on AIX.
In crew-stable: http://hg.intevation.org/mercurial/crew/rev/8085fed2bf0a
Thanks!
--
Patrick Mézard
More information about the Mercurial-devel
mailing list