[PATCH] test-patch-offset: Don't use unified diff

Patrick Mézard pmezard at gmail.com
Wed Jan 20 03:04:04 CST 2010


Le 17/01/10 01:55, Mads Kiilerich a écrit :
> # HG changeset patch
> # User Mads Kiilerich <mads at kiilerich.com>
> # Date 1263689556 -3600
> # Node ID 5a6930e204a9a963a53d5eed6998149465b970df
> # Parent  a9c0d6060827edf92106ed00430e96d524fc2d8d
> test-patch-offset: Don't use unified diff
> 
> Solaris diff -u likes to be "helpful" and tell that "No differences encountered"
> 
> diff --git a/tests/test-patch-offset b/tests/test-patch-offset
> --- a/tests/test-patch-offset
> +++ b/tests/test-patch-offset
> @@ -63,5 +63,5 @@
>  
>  echo % compare imported changes against reference file
>  python ../writepatterns.py aref 34X 10A 1B 1a 9A 1C 10A 1B 10A 1D 10A 1B 1a 9A 1E 10A 1B 1a 9A
> -diff -u aref a
> +diff aref a

In crew-stable: http://hg.intevation.org/mercurial/crew/rev/0d8577e1f56b

Thanks!

--
Patrick Mézard


More information about the Mercurial-devel mailing list