--- a/tests/test-rebase-collapse Tue Aug 19 15:36:03 2008 -0700
+++ b/tests/test-rebase-collapse Tue Aug 19 18:07:26 2008 -0700
@@ -6,16 +6,17 @@
BASE=`pwd`
-function addcommit {
+addcommit () {
echo $1 > $1
hg add $1
hg commit -d "${2} 0" -u test -m $1
}
-function commit {
+
+commit () {
hg commit -d "${2} 0" -u test -m $1
}
-function createrepo {
+createrepo () {
cd $BASE
rm -rf a
hg init a
@@ -50,7 +51,7 @@
hg rebase --base 6 --collapse 2>&1 | sed 's/\(saving bundle to \).*/\1/'
hg glog --template '{rev}: {desc}\n'
-function createrepocomplex {
+createrepocomplex () {
cd $BASE
rm -rf a
hg init a