tests/test-rebase-interruptions
changeset 6910 93609576244e
parent 6906 808f03f61ebe
child 8168 8766fee6f225
equal deleted inserted replaced
6909:b5a6fce0bc29 6910:93609576244e
     4 echo "graphlog=" >> $HGRCPATH
     4 echo "graphlog=" >> $HGRCPATH
     5 echo "rebase=" >> $HGRCPATH
     5 echo "rebase=" >> $HGRCPATH
     6 
     6 
     7 BASE=`pwd`
     7 BASE=`pwd`
     8 
     8 
     9 function addcommit {
     9 addcommit () {
    10     echo $1 > $1
    10     echo $1 > $1
    11     hg add $1
    11     hg add $1
    12     hg commit -d "${2} 0" -u test -m $1
    12     hg commit -d "${2} 0" -u test -m $1
    13 }
    13 }
    14 function commit {
    14 
       
    15 commit () {
    15     hg commit -d "${2} 0" -u test -m $1
    16     hg commit -d "${2} 0" -u test -m $1
    16 }
    17 }
    17 
    18 
    18 function createrepo {
    19 createrepo () {
    19     cd $BASE
    20     cd $BASE
    20     rm -rf a
    21     rm -rf a
    21     hg init a
    22     hg init a
    22     cd a
    23     cd a
    23     addcommit "A" 0
    24     addcommit "A" 0