diff tests/test-rebase-collapse @ 6910:93609576244e

Debashify rebase tests
author Brendan Cully <brendan@kublai.com>
date Tue, 19 Aug 2008 18:07:26 -0700
parents 808f03f61ebe
children 45495d784ad6
line wrap: on
line diff
--- 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