[PATCH 1 of 6]casesmash: use absolute_import

Pierre-Yves David pierre-yves.david at ens-lyon.org
Mon Mar 7 11:21:23 EST 2016


I've no idea what's going on here. The series in not linked (patches are 
not reply to patch 1) and you replied to your patch with the patch 
again) Did you sent this using patchbomb?

On 03/06/2016 02:15 AM, Pulkit Goyal wrote:
> # HG changeset patch
> # User Pulkit Goyal <7895pulkit at gmail.com>
> # Date 1457226900 -19800
> #      Sun Mar 06 06:45:00 2016 +0530
> # Node ID e16c03428357aadbb317dcd34c82cfd1ebfcabf9
> # Parent  1813057a542605fffedb2bd9b46c9f947621c5f7
> casesmash: use absolute_import
>
> diff -r 1813057a5426 -r e16c03428357 contrib/casesmash.py
> --- a/contrib/casesmash.py    Sun Mar 06 03:19:08 2016 +0530
> +++ b/contrib/casesmash.py    Sun Mar 06 06:45:00 2016 +0530
> @@ -1,8 +1,8 @@
>   from __future__ import absolute_import
>   import __builtin__
>   import os
> -from mercurial import(
> -    util,
> +from mercurial import (
> +util,
>   )
>
>   def lowerwrap(scope, funcname):
>
> On Sun, Mar 6, 2016 at 2:27 AM, Pulkit Goyal <7895pulkit at gmail.com> wrote:
>> # HG changeset patch
>> # User Pulkit Goyal <7895pulkit at gmail.com>
>> # Date 1457211350 -19800
>> #      Sun Mar 06 02:25:50 2016 +0530
>> # Node ID e544fb40b78c49f46449d403008431f2bc976876
>> # Parent  9974b8236cac50945d7b529e7c4fae9cf4974443
>> casesmash: use absolute_import
>>
>> diff -r 9974b8236cac -r e544fb40b78c contrib/casesmash.py
>> --- a/contrib/casesmash.py    Wed Mar 02 15:01:41 2016 -0800
>> +++ b/contrib/casesmash.py    Sun Mar 06 02:25:50 2016 +0530
>> @@ -1,5 +1,9 @@
>> -import os, __builtin__
>> -from mercurial import util
>> +from __future__ import absolute_import
>> +import __builtin__
>> +import os
>> +from mercurial import(
>> +    util,
>> +)
>>
>>   def lowerwrap(scope, funcname):
>>       f = getattr(scope, funcname)
>> diff -r 9974b8236cac -r e544fb40b78c tests/test-check-py3-compat.t
>> --- a/tests/test-check-py3-compat.t    Wed Mar 02 15:01:41 2016 -0800
>> +++ b/tests/test-check-py3-compat.t    Sun Mar 06 02:25:50 2016 +0530
>> @@ -3,7 +3,6 @@
>>     $ cd "$TESTDIR"/..
>>
>>     $ hg files 'set:(**.py)' | sed 's|\\|/|g' | xargs python
>> contrib/check-py3-compat.py
>> -  contrib/casesmash.py not using absolute_import
>>     contrib/check-code.py not using absolute_import
>>     contrib/check-code.py requires print_function
>>     contrib/check-config.py not using absolute_import
> _______________________________________________
> Mercurial-devel mailing list
> Mercurial-devel at mercurial-scm.org
> https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel
>

-- 
Pierre-Yves David


More information about the Mercurial-devel mailing list