Changing the test to -t per https://bugzilla.mozilla.org/show_bug.cgi?id=573264#c8
authorAravind Gottipati <aravind@mozilla.com>
Sat, 19 Jun 2010 16:51:35 -0700
changeset 40 24e64cfbf4fa5747d7d9cf9c9195239801716b7d
parent 39 14ffcedc17da505de092ca54d91f354936a92974
child 41 4e6e83227c8826ea4a59b1bf8d66506ce899767b
push id7
push useraravind@mozilla.com
push dateSat, 19 Jun 2010 23:51:16 +0000
bugs573264
Changing the test to -t per https://bugzilla.mozilla.org/show_bug.cgi?id=573264#c8
hg_require_single_head
--- a/hg_require_single_head
+++ b/hg_require_single_head
@@ -1,6 +1,6 @@
 #!/bin/sh
 
-if test $(hg heads --template 'Test_Head\n' | grep -c "^Test_Head") != "1"; then
+if test $(hg heads -t --template 'Test_Head\n' | grep -c "^Test_Head") != "1"; then
     printf "You may not push multiple heads to this repository.\n" 1>&2;
     exit 1;
 fi