(List (= scope= flags=0 words=[] bindings=[('test_description', {[SQ ]})]) (Com {[LIT_CHARS .]} {[LIT_CHARS ./lib-git-svn.sh]} ) (Com {[LIT_CHARS test_expect_success]} {[SQ ]} {[SQ >$i/README ||\n"> > README &&\n"> > FEEDME &&\n"> > README &&\n"> > README &&\n"> > README &&\n"> ]} ) (Com {[LIT_CHARS test_expect_success]} {[SQ ]} {[DQ [LIT_CHARS "\n"][LIT_CHARS "\tgit reset --hard a &&\n"][LIT_CHARS "\tgit svn log -r2 trunk | grep ^r2 &&\n"][LIT_CHARS "\tgit svn log -r4 trunk | grep ^r4 &&\n"][LIT_CHARS "\tgit svn log -r3 | grep ^r3\n"][LIT_CHARS "\t"]]} ) (Com {[LIT_CHARS test_expect_success]} {[SQ ]} {[DQ [LIT_CHARS "\n"][LIT_CHARS "\tgit reset --hard trunk &&\n"][LIT_CHARS "\tgit svn log -r3 a | grep ^r3\n"][LIT_CHARS "\t"]]} ) (Com {[LIT_CHARS printf]} {[SQ ]} < (FilenameRedirectNode filename={[LIT_CHARS expected-range-r1-r2-r4]} "> 1), > ) (Com {[LIT_CHARS test_expect_success]} {[SQ ]} {[DQ [LIT_CHARS "\n"][LIT_CHARS "\tgit reset --hard trunk &&\n"][LIT_CHARS "\tgit svn log -r 1:4 | grep '^r[0-9]' | cut -d'|' -f1 | test_cmp expected-range-r1-r2-r4 -\n"][LIT_CHARS "\t"]]} ) (Com {[LIT_CHARS test_expect_success]} {[SQ ]} {[DQ [LIT_CHARS "\n"][LIT_CHARS "\tgit reset --hard trunk &&\n"][LIT_CHARS "\tgit svn log --show-commit -r 1:4 | grep '^r[0-9]' | cut -d'|' -f1 | test_cmp expected-range-r1-r2-r4 -\n"][LIT_CHARS "\t"]]} ) (Com {[LIT_CHARS test_expect_success]} {[SQ ]} {[DQ [LIT_CHARS "\n"][LIT_CHARS "\tgit svn find-rev r1 >expected-range-r1-r2-r4-sha1 &&\n"][LIT_CHARS "\tgit svn find-rev r2 >>expected-range-r1-r2-r4-sha1 &&\n"][LIT_CHARS "\tgit svn find-rev r4 >>expected-range-r1-r2-r4-sha1 &&\n"][LIT_CHARS "\tgit reset --hard trunk &&\n"][LIT_CHARS "\tgit svn log --show-commit -r 1:4 | grep '^r[0-9]' | cut -d'|' -f2 >out &&\n"][LIT_CHARS "\tgit rev-parse "][\ LIT_ESCAPED_CHAR "\\$"][LIT_CHARS "(cat out) >actual &&\n"][LIT_CHARS "\ttest_cmp expected-range-r1-r2-r4-sha1 actual\n"][LIT_CHARS "\t"]]} ) (Com {[LIT_CHARS printf]} {[SQ ]} < (FilenameRedirectNode filename={[LIT_CHARS expected-range-r4-r2-r1]} "> 1), > ) (Com {[LIT_CHARS test_expect_success]} {[SQ ]} {[DQ [LIT_CHARS "\n"][LIT_CHARS "\tgit reset --hard trunk &&\n"][LIT_CHARS "\tgit svn log -r 4:1 | grep '^r[0-9]' | cut -d'|' -f1 | test_cmp expected-range-r4-r2-r1 -\n"][LIT_CHARS "\t"]]} ) (Com {[LIT_CHARS printf]} {[SQ ]} < (FilenameRedirectNode filename={[LIT_CHARS expected-range-r1-r2]} "> 1), > ) (Com {[LIT_CHARS test_expect_success]} {[SQ ]} {[DQ [LIT_CHARS "\n"][LIT_CHARS "\tgit reset --hard trunk &&\n"][LIT_CHARS "\tgit svn log -r 1:3 | grep '^r[0-9]' | cut -d'|' -f1 | test_cmp expected-range-r1-r2 -\n"][LIT_CHARS "\t"]]} ) (Com {[LIT_CHARS printf]} {[SQ ]} < (FilenameRedirectNode filename={[LIT_CHARS expected-range-r2-r1]} "> 1), > ) (Com {[LIT_CHARS test_expect_success]} {[SQ ]} {[DQ [LIT_CHARS "\n"][LIT_CHARS "\tgit reset --hard trunk &&\n"][LIT_CHARS "\tgit svn log -r 3:1 | grep '^r[0-9]' | cut -d'|' -f1 | test_cmp expected-range-r2-r1 -\n"][LIT_CHARS "\t"]]} ) (Com {[LIT_CHARS printf]} {[SQ ]} < (FilenameRedirectNode filename={[LIT_CHARS expected-range-r2]} "> 1), > ) (Com {[LIT_CHARS test_expect_success]} {[SQ ]} {[DQ [LIT_CHARS "\n"][LIT_CHARS "\tgit reset --hard trunk &&\n"][LIT_CHARS "\tgit svn log -r 2:3 | grep '^r[0-9]' | cut -d'|' -f1 | test_cmp expected-range-r2 -\n"][LIT_CHARS "\t"]]} ) (Com {[LIT_CHARS test_expect_success]} {[SQ ]} {[DQ [LIT_CHARS "\n"][LIT_CHARS "\tgit reset --hard trunk &&\n"][LIT_CHARS "\tgit svn log -r 3:2 | grep '^r[0-9]' | cut -d'|' -f1 | test_cmp expected-range-r2 -\n"][LIT_CHARS "\t"]]} ) (Com {[LIT_CHARS printf]} {[SQ ]} < (FilenameRedirectNode filename={[LIT_CHARS expected-range-r4]} "> 1), > ) (Com {[LIT_CHARS test_expect_success]} {[SQ ]} {[DQ [LIT_CHARS "\n"][LIT_CHARS "\tgit reset --hard trunk &&\n"][LIT_CHARS "\tgit svn log -r 3:4 | grep '^r[0-9]' | cut -d'|' -f1 | test_cmp expected-range-r4 -\n"][LIT_CHARS "\t"]]} ) (Com {[LIT_CHARS test_expect_success]} {[SQ ]} {[DQ [LIT_CHARS "\n"][LIT_CHARS "\tgit reset --hard trunk &&\n"][LIT_CHARS "\tgit svn log -r 4:3 | grep '^r[0-9]' | cut -d'|' -f1 | test_cmp expected-range-r4 -\n"][LIT_CHARS "\t"]]} ) (Com {[LIT_CHARS printf]} {[LIT_CHARS --]} {[SQ ]} < (FilenameRedirectNode filename={[LIT_CHARS expected-separator]} "> 1), > ) (Com {[LIT_CHARS test_expect_success]} {[SQ ]} {[DQ [LIT_CHARS "\n"][LIT_CHARS "\tgit reset --hard trunk &&\n"][LIT_CHARS "\tgit svn log -r 5:6 | test_cmp expected-separator -\n"][LIT_CHARS "\t"]]} ) (Com {[LIT_CHARS test_expect_success]} {[SQ ]} {[DQ [LIT_CHARS "\n"][LIT_CHARS "\tgit reset --hard trunk &&\n"][LIT_CHARS "\tgit svn log -r 6:5 | test_cmp expected-separator -\n"][LIT_CHARS "\t"]]} ) (Com {[LIT_CHARS test_expect_success]} {[SQ ]} {[DQ [LIT_CHARS "\n"][LIT_CHARS "\tgit reset --hard trunk &&\n"][LIT_CHARS "\tgit svn log -r 3:5 | grep '^r[0-9]' | cut -d'|' -f1 | test_cmp expected-range-r4 -\n"][LIT_CHARS "\t"]]} ) (Com {[LIT_CHARS test_expect_success]} {[SQ ]} {[DQ [LIT_CHARS "\n"][LIT_CHARS "\tgit reset --hard trunk &&\n"][LIT_CHARS "\tgit svn log -r 5:3 | grep '^r[0-9]' | cut -d'|' -f1 | test_cmp expected-range-r4 -\n"][LIT_CHARS "\t"]]} ) (Com {[LIT_CHARS test_done]} ) )