comparison tests/test-rebase-parameters @ 6910:93609576244e

Debashify rebase tests
author Brendan Cully <brendan@kublai.com>
date Tue, 19 Aug 2008 18:07:26 -0700
parents 808f03f61ebe
children 40cacb049ef6
comparison
equal deleted inserted replaced
6909:b5a6fce0bc29 6910:93609576244e
1 #!/bin/sh 1 #!/bin/sh
2 2
3 echo "[extensions]" >> $HGRCPATH 3 echo "[extensions]" >> $HGRCPATH
4 echo "rebase=" >> $HGRCPATH 4 echo "rebase=" >> $HGRCPATH
5 5
6 function addcommit { 6 addcommit () {
7 echo $1 > $1 7 echo $1 > $1
8 hg add $1 8 hg add $1
9 hg commit -d "${2} 0" -u test -m $1 9 hg commit -d "${2} 0" -u test -m $1
10 } 10 }
11 11
12 function commit { 12 commit () {
13 hg commit -d "${2} 0" -u test -m $1 13 hg commit -d "${2} 0" -u test -m $1
14 } 14 }
15 15
16 function createrepo { 16 createrepo () {
17 hg init a 17 hg init a
18 cd a 18 cd a
19 addcommit "c1" 0 19 addcommit "c1" 0
20 addcommit "c2" 1 20 addcommit "c2" 1
21 addcommit "c3" 2 21 addcommit "c3" 2