Make test-bundle-type work on MacOS 10.4.11
head on MacOS Tiger doesn't have a -c option.
--- a/tests/test-bundle-type Wed May 28 22:45:07 2008 +0200
+++ b/tests/test-bundle-type Thu May 29 16:29:28 2008 +0200
@@ -20,7 +20,7 @@
hg init t$t
cd t1
hg bundle -t $t ../b$t ../t$t
- head -c 6 ../b$t
+ head -n 1 ../b$t | cut -b 1-6
cd ../t$t
hg pull ../b$t
hg up
--- a/tests/test-bundle-type.out Wed May 28 22:45:07 2008 +0200
+++ b/tests/test-bundle-type.out Thu May 29 16:29:28 2008 +0200
@@ -15,7 +15,8 @@
% test bundle type None
searching for changes
1 changesets found
-HG10UNpulling from ../bNone
+HG10UN
+pulling from ../bNone
requesting all changes
adding changesets
adding manifests
@@ -27,7 +28,8 @@
% test bundle type bzip2
searching for changes
1 changesets found
-HG10BZpulling from ../bbzip2
+HG10BZ
+pulling from ../bbzip2
requesting all changes
adding changesets
adding manifests
@@ -39,7 +41,8 @@
% test bundle type gzip
searching for changes
1 changesets found
-HG10GZpulling from ../bgzip
+HG10GZ
+pulling from ../bgzip
requesting all changes
adding changesets
adding manifests