[PATCH 1 of 2] test-check-shbang: tolerate obsolete marker warning without evolve
Matt Harbison
mharbison72 at gmail.com
Fri May 6 07:43:17 EDT 2016
> On May 6, 2016, at 7:06 AM, Pierre-Yves David <pierre-yves.david at ens-lyon.org> wrote:
>
> We could also enable evolve for the test and never get the warning
Since evolve isn't in the tree yet, I'm not sure how to do that in any portable way.
>> 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