[PATCH 2 of 4 STABLE] tests: avoid quoting of commit messages for test portability

Yuya Nishihara yuya at tcha.org
Sun Oct 30 06:16:42 EDT 2016


On Sun, 30 Oct 2016 06:20:38 +0900, FUJIWARA Katsunori wrote:
> # HG changeset patch
> # User FUJIWARA Katsunori <foozy at lares.dti.ne.jp>
> # Date 1477775709 -32400
> #      Sun Oct 30 06:15:09 2016 +0900
> # Branch stable
> # Node ID 9843e3d9f4b6ad004624ebf5c6a3e7e480c28c27
> # Parent  94ef2f00b8a498185495908aa0ff4ff1908e60c2
> tests: avoid quoting of commit messages for test portability
> 
> journal extension uses util.shellquote() to record command line, but
> result of it depends on runtime platform: double quotation is used on
> Windows and OpenVMS, but single quotation is used otherwise.

Maybe we should have one or two tests for the util.shellquote() thing?


More information about the Mercurial-devel mailing list