changeset 7171:41b7802b089a

Fix test-bundle-type output by changing head|cut to cut|head. With some versions of cut the output otherwise has no end of line.
author Thomas Arendsen Hein <thomas@intevation.de>
date Sun, 19 Oct 2008 17:40:35 +0200
parents aff204c9bdd6
children fb1d7a42663c
files tests/test-bundle-type
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/tests/test-bundle-type	Sun Oct 19 15:24:33 2008 +0200
+++ b/tests/test-bundle-type	Sun Oct 19 17:40:35 2008 +0200
@@ -20,7 +20,7 @@
   hg init t$t
   cd t1
   hg bundle -t $t ../b$t ../t$t
-  head -n 1 ../b$t | cut -b 1-6
+  cut -b 1-6 ../b$t | head -n 1
   cd ../t$t
   hg pull ../b$t
   hg up