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

Patrick Mézard pmezard at gmail.com
Sat May 2 10:39:58 CDT 2009


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?
I guess the fix must be pushed in -stable?

--
Patrick Mézard


More information about the Mercurial-devel mailing list