(command.CommandList
  children: [
    (command.ShAssignment
      left: <Id.Lit_VarLike 'test_description='>
      pairs: [
        (AssignPair
          left: <Id.Lit_VarLike 'test_description='>
          lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'test_description='> name:test_description)
          op: assign_op.Equal
          rhs: {(SQ <'git svn log tests'>)}
        )
      ]
      redirects: []
    )
    (command.Simple
      blame_tok: <.>
      more_env: []
      words: [{<.>} {<'./lib-git-svn.sh'>}]
      redirects: []
      do_fork: T
    )
    (command.Simple
      blame_tok: <test_expect_success>
      more_env: []
      words: [
        {<test_expect_success>}
        {(SQ <'setup repository and import'>)}
        {
          (SQ <'\n'> <'\tmkdir import &&\n'> <'\t(\n'> <'\t\tcd import &&\n'> 
            <'\t\tfor i in trunk branches/a branches/b tags/0.1 tags/0.2 tags/0.3\n'> <'\t\tdo\n'> <'\t\t\tmkdir -p $i &&\n'> <'\t\t\techo hello >>$i/README ||\n'> <'\t\t\texit 1\n'> 
            <'\t\tdone &&\n'> <'\t\tsvn_cmd import -m test . "$svnrepo"\n'> <'\t) &&\n'> 
            <'\tgit svn init "$svnrepo" -T trunk -b branches -t tags &&\n'> <'\tgit svn fetch &&\n'> <'\tgit reset --hard origin/trunk &&\n'> <'\techo bye >> README &&\n'> 
            <'\tgit commit -a -m bye &&\n'> <'\tgit svn dcommit &&\n'> <'\tgit reset --hard origin/a &&\n'> <'\techo why >> FEEDME &&\n'> 
            <'\tgit update-index --add FEEDME &&\n'> <'\tgit commit -m feedme &&\n'> <'\tgit svn dcommit &&\n'> <'\tgit reset --hard origin/trunk &&\n'> 
            <'\techo aye >> README &&\n'> <'\tgit commit -a -m aye &&\n'> <'\tgit svn dcommit &&\n'> <'\tgit reset --hard origin/b &&\n'> 
            <'\techo spy >> README &&\n'> <'\tgit commit -a -m spy &&\n'> <'\techo try >> README &&\n'> <'\tgit commit -a -m try &&\n'> 
            <'\tgit svn dcommit\n'> <'\t'>
          )
        }
      ]
      redirects: []
      do_fork: T
    )
    (command.Simple
      blame_tok: <test_expect_success>
      more_env: []
      words: [
        {<test_expect_success>}
        {(SQ <'run log'>)}
        {
          (DQ <'\n'> <'\tgit reset --hard origin/a &&\n'> 
            <'\tgit svn log -r2 origin/trunk | grep ^r2 &&\n'> <'\tgit svn log -r4 origin/trunk | grep ^r4 &&\n'> <'\tgit svn log -r3 | grep ^r3\n'> <'\t'>
          )
        }
      ]
      redirects: []
      do_fork: T
    )
    (command.Simple
      blame_tok: <test_expect_success>
      more_env: []
      words: [
        {<test_expect_success>}
        {(SQ <'run log against a from trunk'>)}
        {
          (DQ <'\n'> <'\tgit reset --hard origin/trunk &&\n'> 
            <'\tgit svn log -r3 origin/a | grep ^r3\n'> <'\t'>
          )
        }
      ]
      redirects: []
      do_fork: T
    )
    (command.Simple
      blame_tok: <printf>
      more_env: []
      words: [{<printf>} {(SQ <'r1 \\nr2 \\nr4 \\n'>)}]
      redirects: [
        (Redir op:<Id.Redir_Great '>'> loc:(redir_loc.Fd fd:1) arg:{<expected-range-r1-r2-r4>})
      ]
      do_fork: T
    )
    (command.Simple
      blame_tok: <test_expect_success>
      more_env: []
      words: [
        {<test_expect_success>}
        {(SQ <'test ascending revision range'>)}
        {
          (DQ <'\n'> <'\tgit reset --hard origin/trunk &&\n'> 
            <
'\tgit svn log -r 1:4 | grep \'^r[0-9]\' | cut -d\'|\' -f1 | test_cmp expected-range-r1-r2-r4 -\n'
            > <'\t'>
          )
        }
      ]
      redirects: []
      do_fork: T
    )
    (command.Simple
      blame_tok: <test_expect_success>
      more_env: []
      words: [
        {<test_expect_success>}
        {(SQ <'test ascending revision range with --show-commit'>)}
        {
          (DQ <'\n'> <'\tgit reset --hard origin/trunk &&\n'> 
            <
'\tgit svn log --show-commit -r 1:4 | grep \'^r[0-9]\' | cut -d\'|\' -f1 | test_cmp expected-range-r1-r2-r4 -\n'
            > <'\t'>
          )
        }
      ]
      redirects: []
      do_fork: T
    )
    (command.Simple
      blame_tok: <test_expect_success>
      more_env: []
      words: [
        {<test_expect_success>}
        {(SQ <'test ascending revision range with --show-commit (sha1)'>)}
        {
          (DQ <'\n'> <'\tgit svn find-rev r1 >expected-range-r1-r2-r4-sha1 &&\n'> 
            <'\tgit svn find-rev r2 >>expected-range-r1-r2-r4-sha1 &&\n'> <'\tgit svn find-rev r4 >>expected-range-r1-r2-r4-sha1 &&\n'> <'\tgit reset --hard origin/trunk &&\n'> 
            <'\tgit svn log --show-commit -r 1:4 | grep \'^r[0-9]\' | cut -d\'|\' -f2 >out &&\n'> <'\tgit rev-parse '> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\$'> ch:'$') 
            <'(cat out) >actual &&\n'> <'\ttest_cmp expected-range-r1-r2-r4-sha1 actual\n'> <'\t'>
          )
        }
      ]
      redirects: []
      do_fork: T
    )
    (command.Simple
      blame_tok: <printf>
      more_env: []
      words: [{<printf>} {(SQ <'r4 \\nr2 \\nr1 \\n'>)}]
      redirects: [
        (Redir op:<Id.Redir_Great '>'> loc:(redir_loc.Fd fd:1) arg:{<expected-range-r4-r2-r1>})
      ]
      do_fork: T
    )
    (command.Simple
      blame_tok: <test_expect_success>
      more_env: []
      words: [
        {<test_expect_success>}
        {(SQ <'test descending revision range'>)}
        {
          (DQ <'\n'> <'\tgit reset --hard origin/trunk &&\n'> 
            <
'\tgit svn log -r 4:1 | grep \'^r[0-9]\' | cut -d\'|\' -f1 | test_cmp expected-range-r4-r2-r1 -\n'
            > <'\t'>
          )
        }
      ]
      redirects: []
      do_fork: T
    )
    (command.Simple
      blame_tok: <printf>
      more_env: []
      words: [{<printf>} {(SQ <'r1 \\nr2 \\n'>)}]
      redirects: [(Redir op:<Id.Redir_Great '>'> loc:(redir_loc.Fd fd:1) arg:{<expected-range-r1-r2>})]
      do_fork: T
    )
    (command.Simple
      blame_tok: <test_expect_success>
      more_env: []
      words: [
        {<test_expect_success>}
        {(SQ <'test ascending revision range with unreachable revision'>)}
        {
          (DQ <'\n'> <'\tgit reset --hard origin/trunk &&\n'> 
            <
'\tgit svn log -r 1:3 | grep \'^r[0-9]\' | cut -d\'|\' -f1 | test_cmp expected-range-r1-r2 -\n'
            > <'\t'>
          )
        }
      ]
      redirects: []
      do_fork: T
    )
    (command.Simple
      blame_tok: <printf>
      more_env: []
      words: [{<printf>} {(SQ <'r2 \\nr1 \\n'>)}]
      redirects: [(Redir op:<Id.Redir_Great '>'> loc:(redir_loc.Fd fd:1) arg:{<expected-range-r2-r1>})]
      do_fork: T
    )
    (command.Simple
      blame_tok: <test_expect_success>
      more_env: []
      words: [
        {<test_expect_success>}
        {(SQ <'test descending revision range with unreachable revision'>)}
        {
          (DQ <'\n'> <'\tgit reset --hard origin/trunk &&\n'> 
            <
'\tgit svn log -r 3:1 | grep \'^r[0-9]\' | cut -d\'|\' -f1 | test_cmp expected-range-r2-r1 -\n'
            > <'\t'>
          )
        }
      ]
      redirects: []
      do_fork: T
    )
    (command.Simple
      blame_tok: <printf>
      more_env: []
      words: [{<printf>} {(SQ <'r2 \\n'>)}]
      redirects: [(Redir op:<Id.Redir_Great '>'> loc:(redir_loc.Fd fd:1) arg:{<expected-range-r2>})]
      do_fork: T
    )
    (command.Simple
      blame_tok: <test_expect_success>
      more_env: []
      words: [
        {<test_expect_success>}
        {(SQ <'test ascending revision range with unreachable upper boundary revision and 1 commit'>)}
        {
          (DQ <'\n'> <'\tgit reset --hard origin/trunk &&\n'> 
            <
'\tgit svn log -r 2:3 | grep \'^r[0-9]\' | cut -d\'|\' -f1 | test_cmp expected-range-r2 -\n'
            > <'\t'>
          )
        }
      ]
      redirects: []
      do_fork: T
    )
    (command.Simple
      blame_tok: <test_expect_success>
      more_env: []
      words: [
        {<test_expect_success>}
        {
          (SQ 
            <'test descending revision range with unreachable upper boundary revision and 1 commit'>
          )
        }
        {
          (DQ <'\n'> <'\tgit reset --hard origin/trunk &&\n'> 
            <
'\tgit svn log -r 3:2 | grep \'^r[0-9]\' | cut -d\'|\' -f1 | test_cmp expected-range-r2 -\n'
            > <'\t'>
          )
        }
      ]
      redirects: []
      do_fork: T
    )
    (command.Simple
      blame_tok: <printf>
      more_env: []
      words: [{<printf>} {(SQ <'r4 \\n'>)}]
      redirects: [(Redir op:<Id.Redir_Great '>'> loc:(redir_loc.Fd fd:1) arg:{<expected-range-r4>})]
      do_fork: T
    )
    (command.Simple
      blame_tok: <test_expect_success>
      more_env: []
      words: [
        {<test_expect_success>}
        {(SQ <'test ascending revision range with unreachable lower boundary revision and 1 commit'>)}
        {
          (DQ <'\n'> <'\tgit reset --hard origin/trunk &&\n'> 
            <
'\tgit svn log -r 3:4 | grep \'^r[0-9]\' | cut -d\'|\' -f1 | test_cmp expected-range-r4 -\n'
            > <'\t'>
          )
        }
      ]
      redirects: []
      do_fork: T
    )
    (command.Simple
      blame_tok: <test_expect_success>
      more_env: []
      words: [
        {<test_expect_success>}
        {
          (SQ 
            <'test descending revision range with unreachable lower boundary revision and 1 commit'>
          )
        }
        {
          (DQ <'\n'> <'\tgit reset --hard origin/trunk &&\n'> 
            <
'\tgit svn log -r 4:3 | grep \'^r[0-9]\' | cut -d\'|\' -f1 | test_cmp expected-range-r4 -\n'
            > <'\t'>
          )
        }
      ]
      redirects: []
      do_fork: T
    )
    (command.Simple
      blame_tok: <printf>
      more_env: []
      words: [
        {<printf>}
        {<-->}
        {(SQ <'------------------------------------------------------------------------\\n'>)}
      ]
      redirects: [(Redir op:<Id.Redir_Great '>'> loc:(redir_loc.Fd fd:1) arg:{<expected-separator>})]
      do_fork: T
    )
    (command.Simple
      blame_tok: <test_expect_success>
      more_env: []
      words: [
        {<test_expect_success>}
        {(SQ <'test ascending revision range with unreachable boundary revisions and no commits'>)}
        {
          (DQ <'\n'> <'\tgit reset --hard origin/trunk &&\n'> 
            <'\tgit svn log -r 5:6 | test_cmp expected-separator -\n'> <'\t'>
          )
        }
      ]
      redirects: []
      do_fork: T
    )
    (command.Simple
      blame_tok: <test_expect_success>
      more_env: []
      words: [
        {<test_expect_success>}
        {(SQ <'test descending revision range with unreachable boundary revisions and no commits'>)}
        {
          (DQ <'\n'> <'\tgit reset --hard origin/trunk &&\n'> 
            <'\tgit svn log -r 6:5 | test_cmp expected-separator -\n'> <'\t'>
          )
        }
      ]
      redirects: []
      do_fork: T
    )
    (command.Simple
      blame_tok: <test_expect_success>
      more_env: []
      words: [
        {<test_expect_success>}
        {(SQ <'test ascending revision range with unreachable boundary revisions and 1 commit'>)}
        {
          (DQ <'\n'> <'\tgit reset --hard origin/trunk &&\n'> 
            <
'\tgit svn log -r 3:5 | grep \'^r[0-9]\' | cut -d\'|\' -f1 | test_cmp expected-range-r4 -\n'
            > <'\t'>
          )
        }
      ]
      redirects: []
      do_fork: T
    )
    (command.Simple
      blame_tok: <test_expect_success>
      more_env: []
      words: [
        {<test_expect_success>}
        {(SQ <'test descending revision range with unreachable boundary revisions and 1 commit'>)}
        {
          (DQ <'\n'> <'\tgit reset --hard origin/trunk &&\n'> 
            <
'\tgit svn log -r 5:3 | grep \'^r[0-9]\' | cut -d\'|\' -f1 | test_cmp expected-range-r4 -\n'
            > <'\t'>
          )
        }
      ]
      redirects: []
      do_fork: T
    )
    (command.Simple
      blame_tok: <test_done>
      more_env: []
      words: [{<test_done>}]
      redirects: []
      do_fork: T
    )
  ]
)