tests/test-convert-svn-source
changeset 6439 c1b47c0fd2b6
parent 6401 635c57cf0de8
child 7074 b1a4f67b98d0
equal deleted inserted replaced
6438:a60b711c7ac4 6439:c1b47c0fd2b6
    39 cd B
    39 cd B
    40 echo hello > letter.txt
    40 echo hello > letter.txt
    41 svn add letter.txt
    41 svn add letter.txt
    42 svn ci -m hello
    42 svn ci -m hello
    43 
    43 
    44 echo world >> letter.txt
    44 "$TESTDIR/svn-safe-append.py" world letter.txt
    45 svn ci -m world
    45 svn ci -m world
    46 
    46 
    47 svn copy -m "tag v0.1" $svnurl/trunk $svnurl/tags/v0.1
    47 svn copy -m "tag v0.1" $svnurl/trunk $svnurl/tags/v0.1
    48 
    48 
    49 echo 'nice day today!' >> letter.txt
    49 "$TESTDIR/svn-safe-append.py" 'nice day today!' letter.txt
    50 svn ci -m "nice day"
    50 svn ci -m "nice day"
    51 cd ..
    51 cd ..
    52 
    52 
    53 echo % convert to hg once
    53 echo % convert to hg once
    54 hg convert $svnurl B-hg
    54 hg convert $svnurl B-hg
    55 
    55 
    56 echo % update svn repository again
    56 echo % update svn repository again
    57 cd B
    57 cd B
    58 echo "see second letter" >> letter.txt
    58 "$TESTDIR/svn-safe-append.py" "see second letter" letter.txt
    59 echo "nice to meet you" > letter2.txt
    59 echo "nice to meet you" > letter2.txt
    60 svn add letter2.txt
    60 svn add letter2.txt
    61 svn ci -m "second letter"
    61 svn ci -m "second letter"
    62 
    62 
    63 svn copy -m "tag v0.2" $svnurl/trunk $svnurl/tags/v0.2
    63 svn copy -m "tag v0.2" $svnurl/trunk $svnurl/tags/v0.2
    64 
    64 
    65 echo "blah-blah-blah" >> letter2.txt
    65 "$TESTDIR/svn-safe-append.py" "blah-blah-blah" letter2.txt
    66 svn ci -m "work in progress"
    66 svn ci -m "work in progress"
    67 cd ..
    67 cd ..
    68 
    68 
    69 ########################################
    69 ########################################
    70 
    70