[PATCH] change argument to head to fix warning in test-grep
Andrew Thompson
andrewkt at aktzero.com
Sun Sep 18 16:40:29 CDT 2005
Attached patch changes head -3 to head -n 3 in test-grep.
--
Andrew Thompson
http://aktzero.com/
-------------- next part --------------
# HG changeset patch
# User Andrew Thompson <andrewkt at aktzero.com>
# Node ID 7543daea604611a4dbf6318887eb7770f8076eb7
# Parent 9ab14ca22e378a26c5c70406d2be9992000e16c0
Fix argument call to head in test-grep to remove warning.
diff -r 9ab14ca22e37 -r 7543daea6046 tests/test-grep
--- a/tests/test-grep Sat Sep 17 07:37:14 2005
+++ b/tests/test-grep Sun Sep 18 21:38:13 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