[PATCH 1 of 2] test-check-shbang: tolerate obsolete marker warning without evolve

Pierre-Yves David pierre-yves.david at ens-lyon.org
Fri May 6 07:06:41 EDT 2016


We could also enable evolve for the test and never get the warning

On 05/06/2016 05:37 AM, Matt Harbison wrote:
> # HG changeset patch
> # User Matt Harbison <matt_harbison at yahoo.com>
> # Date 1462497216 14400
> #      Thu May 05 21:13:36 2016 -0400
> # Node ID 07820d0073dd4e470b3fd8026919b879bc9256ca
> # Parent  af6d4a49e3615ac6cfa63b9c10811c28520434ea
> test-check-shbang: tolerate obsolete marker warning without evolve
>
> It seems like most developers will have evolve enabled on their local Mercurial
> repo, and I constantly hit this when running tests with --local.
>
> diff --git a/tests/test-check-shbang.t b/tests/test-check-shbang.t
> --- a/tests/test-check-shbang.t
> +++ b/tests/test-check-shbang.t
> @@ -5,9 +5,11 @@
>   look for python scripts that do not use /usr/bin/env
>   
>     $ hg files 'set:grep(r"^#!.*?python") and not grep(r"^#!/usr/bin/env python")'
> +  obsolete feature not enabled but * markers found! (glob) (?)
>     [1]
>   
>   look for shell scripts that do not use /bin/sh
>   
>     $ hg files 'set:grep(r"^#!.*/bin/sh") and not grep(r"^#!/bin/sh")'
> +  obsolete feature not enabled but * markers found! (glob) (?)
>     [1]
> _______________________________________________
> Mercurial-devel mailing list
> Mercurial-devel at mercurial-scm.org
> https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel



More information about the Mercurial-devel mailing list