[PATCH] fix obsolete option for head

Benoit Boissinot benoit.boissinot at ens-lyon.org
Wed Sep 7 09:29:25 CDT 2005


# HG changeset patch
# User bboissin at ens-lyon.fr
# Node ID 8e279421d54f93ff152b17d165b846affc465d86
# Parent  4003ea6586934cb217db164e3e100d938f271e67
tests: fix obsolete option for head

diff -r 4003ea658693 -r 8e279421d54f tests/test-grep
--- a/tests/test-grep	Sun Sep  4 22:47:59 2005
+++ b/tests/test-grep	Wed Sep  7 14:25:34 2005
@@ -14,7 +14,7 @@
 hg commit -m 2 -u spam -d '2 0'
 echo 'import/export' >> port
 hg commit -m 3 -u eggs -d '3 0'
-head -3 port > port1
+head -n 3 port > port1
 mv port1 port
 hg commit -m 4 -u spam -d '4 0'
 hg grep port port


More information about the Mercurial mailing list