[PATCH] test-convert-baz: hide GNU tar deprecation warning

Mads Kiilerich mads at kiilerich.com
Sat May 2 10:55:01 CDT 2009


Patrick Mézard wrote, On 05/02/2009 05:39 PM:
> Mads Kiilerich a écrit :
>    
>> # HG changeset patch
>> # User Mads Kiilerich<mads at kiilerich.com>
>> # Date 1241259204 -7200
>> # Node ID fe25c839422e33716f71241485bb0c1f33724622
>> # Parent  e3d3dad805f9f7c5f17c7a80cd659ecf25238ca1
>> test-convert-baz: hide GNU tar deprecation warning
>>
>> diff --git a/tests/test-convert-baz b/tests/test-convert-baz
>> --- a/tests/test-convert-baz
>> +++ b/tests/test-convert-baz
>> @@ -29,7 +29,8 @@
>>   cd src
>>   dd count=1 if=/dev/zero of=b>  /dev/null 2>  /dev/null
>>   baz add b
>> -baz commit -s "added a file, src and src/b (binary)"
>> +# HACK: hide GNU tar-1.22 "tar: The --preserve option is deprecated, use --preserve-permissions --preserve-order instead"
>> +baz commit -s "added a file, src and src/b (binary)" 2>&1 | grep -v ^tar
>>      
>
> Since I cannot reproduce the problem, does it happen only here? Because of the binary file?
>    

That is the only failure I see on Fedora 11 now.

I have no clue why it happens. Apparently baz forks a tar internally? 
Obviously the real problem should be solved in baz or tar, but as far as 
I am concerned we just don't care about the issue or the warning as long 
as the rest of the test succeeds.

Are you using tar 1.22? Bazaar 1.4.2?

/Mads



-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3435 bytes
Desc: S/MIME Cryptographic Signature
Url : http://selenic.com/pipermail/mercurial-devel/attachments/20090502/49a91950/attachment.bin 


More information about the Mercurial-devel mailing list