tests/test-rebase-collapse
changeset 6910 93609576244e
parent 6906 808f03f61ebe
child 7278 45495d784ad6
--- 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