(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 fetching'>)}
        )
      ]
      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 <'initialize repo'>)}
        {
          (SQ <'\n'> <'\tmkdir import &&\n'> <'\t(\n'> <'\t\tcd import &&\n'> <'\t\tmkdir -p trunk &&\n'> 
            <'\t\techo hello >trunk/readme &&\n'> <'\t\tsvn_cmd import -m "initial" . "$svnrepo"\n'> <'\t) &&\n'> <'\tsvn_cmd co "$svnrepo" wc &&\n'> 
            <'\t(\n'> <'\t\tcd wc &&\n'> <'\t\techo world >>trunk/readme &&\n'> <'\t\tpoke trunk/readme &&\n'> 
            <'\t\tsvn_cmd commit -m "another commit" &&\n'> <'\t\tsvn_cmd up &&\n'> <'\t\tsvn_cmd mv trunk thunk &&\n'> <'\t\techo goodbye >>thunk/readme &&\n'> 
            <'\t\tpoke thunk/readme &&\n'> <'\t\tsvn_cmd commit -m "bye now"\n'> <'\t)\n'> <'\t'>
          )
        }
      ]
      redirects: []
      do_fork: T
    )
    (command.Simple
      blame_tok: <test_expect_success>
      more_env: []
      words: [
        {<test_expect_success>}
        {(SQ <'init and fetch a moved directory'>)}
        {
          (SQ <'\n'> <'\tgit svn init --minimize-url -i thunk "$svnrepo"/thunk &&\n'> 
            <'\tgit svn fetch -i thunk &&\n'> <'\ttest "$(git rev-parse --verify refs/remotes/thunk@2)" \\\n'> 
            <'\t   = "$(git rev-parse --verify refs/remotes/thunk~1)" &&\n'> <'\ttest "$(git cat-file blob refs/remotes/thunk:readme |\\\n'> 
            <'\t\t sed -n -e "3p")" = goodbye &&\n'> <'\ttest -z "$(git config --get svn-remote.svn.fetch \\\n'> 
            <'\t\t "^trunk:refs/remotes/thunk@2$")"\n'> <'\t'>
          )
        }
      ]
      redirects: []
      do_fork: T
    )
    (command.Simple
      blame_tok: <test_expect_success>
      more_env: []
      words: [
        {<test_expect_success>}
        {(SQ <'init and fetch from one svn-remote'>)}
        {
          (SQ <'\n'> <'        git config svn-remote.svn.url "$svnrepo" &&\n'> 
            <'        git config --add svn-remote.svn.fetch \\\n'> <'          trunk:refs/remotes/svn/trunk &&\n'> <'        git config --add svn-remote.svn.fetch \\\n'> 
            <'          thunk:refs/remotes/svn/thunk &&\n'> <'        git svn fetch -i svn/thunk &&\n'> 
            <'\ttest "$(git rev-parse --verify refs/remotes/svn/trunk)" \\\n'> <'\t   = "$(git rev-parse --verify refs/remotes/svn/thunk~1)" &&\n'> 
            <'\ttest "$(git cat-file blob refs/remotes/svn/thunk:readme |\\\n'> <'\t\t sed -n -e "3p")" = goodbye\n'> <'        '>
          )
        }
      ]
      redirects: []
      do_fork: T
    )
    (command.Simple
      blame_tok: <test_expect_success>
      more_env: []
      words: [
        {<test_expect_success>}
        {(SQ <'follow deleted parent'>)}
        {
          (SQ <'\n'> <'        (svn_cmd cp -m "resurrecting trunk as junk" \\\n'> 
            <'               "$svnrepo"/trunk@2 "$svnrepo"/junk ||\n'> <'         svn cp -m "resurrecting trunk as junk" \\\n'> 
            <'               -r2 "$svnrepo"/trunk "$svnrepo"/junk) &&\n'> <'        git config --add svn-remote.svn.fetch \\\n'> <'          junk:refs/remotes/svn/junk &&\n'> 
            <'        git svn fetch -i svn/thunk &&\n'> <'        git svn fetch -i svn/junk &&\n'> <'\ttest -z "$(git diff svn/junk svn/trunk)" &&\n'> 
            <'\ttest "$(git merge-base svn/junk svn/trunk)" \\\n'> <'\t   = "$(git rev-parse svn/trunk)"\n'> <'        '>
          )
        }
      ]
      redirects: []
      do_fork: T
    )
    (command.Simple
      blame_tok: <test_expect_success>
      more_env: []
      words: [
        {<test_expect_success>}
        {(SQ <'follow larger parent'>)}
        {
          (SQ <'\n'> <'        mkdir -p import/trunk/thunk/bump/thud &&\n'> 
            <'        echo hi > import/trunk/thunk/bump/thud/file &&\n'> <'        svn import -m "import a larger parent" import "$svnrepo"/larger-parent &&\n'> 
            <'        svn cp -m "hi" "$svnrepo"/larger-parent "$svnrepo"/another-larger &&\n'> <'        git svn init --minimize-url -i larger \\\n'> 
            <'\t  "$svnrepo"/larger-parent/trunk/thunk/bump/thud &&\n'> <'        git svn fetch -i larger &&\n'> <'\tgit svn init --minimize-url -i larger-parent \\\n'> 
            <'\t  "$svnrepo"/another-larger/trunk/thunk/bump/thud &&\n'> <'\tgit svn fetch -i larger-parent &&\n'> <'        git rev-parse --verify refs/remotes/larger &&\n'> 
            <'        git rev-parse --verify \\\n'> <'\t   refs/remotes/larger-parent &&\n'> <'\ttest "$(git merge-base \\\n'> 
            <'\t\t refs/remotes/larger-parent \\\n'> <'\t\t refs/remotes/larger)" = \\\n'> <'\t     "$(git rev-parse refs/remotes/larger)"\n'> <'        '>
          )
        }
      ]
      redirects: []
      do_fork: T
    )
    (command.Simple
      blame_tok: <test_expect_success>
      more_env: []
      words: [
        {<test_expect_success>}
        {(SQ <'follow higher-level parent'>)}
        {
          (SQ <'\n'> <'\tsvn mkdir -m "follow higher-level parent" "$svnrepo"/blob &&\n'> 
            <'\tsvn co "$svnrepo"/blob blob &&\n'> <'\t(\n'> <'\t\tcd blob &&\n'> <'\t\techo hi > hi &&\n'> <'\t\tsvn add hi &&\n'> 
            <'\t\tsvn commit -m "hihi"\n'> <'\t) &&\n'> <'\tsvn mkdir -m "new glob at top level" "$svnrepo"/glob &&\n'> 
            <'\tsvn mv -m "move blob down a level" "$svnrepo"/blob "$svnrepo"/glob/blob &&\n'> <'\tgit svn init --minimize-url -i blob "$svnrepo"/glob/blob &&\n'> 
            <'        git svn fetch -i blob\n'> <'        '>
          )
        }
      ]
      redirects: []
      do_fork: T
    )
    (command.Simple
      blame_tok: <test_expect_success>
      more_env: []
      words: [
        {<test_expect_success>}
        {(SQ <'follow deleted directory'>)}
        {
          (SQ <'\n'> <'\tsvn_cmd mv -m "bye!" "$svnrepo"/glob/blob/hi "$svnrepo"/glob/blob/bye &&\n'> 
            <'\tsvn_cmd rm -m "remove glob" "$svnrepo"/glob &&\n'> <'\tgit svn init --minimize-url -i glob "$svnrepo"/glob &&\n'> <'\tgit svn fetch -i glob &&\n'> 
            <'\ttest "$(git cat-file blob refs/remotes/glob:blob/bye)" = hi &&\n'> <'\ttest "$(git ls-tree refs/remotes/glob | wc -l )" -eq 1\n'> <'\t'>
          )
        }
      ]
      redirects: []
      do_fork: T
    )
    (command.Simple
      blame_tok: <test_expect_success>
      more_env: []
      words: [
        {<test_expect_success>}
        {(SQ <'follow-parent avoids deleting relevant info'>)}
        {
          (SQ <'\n'> <'\tmkdir -p import/trunk/subversion/bindings/swig/perl/t &&\n'> 
            <'\tfor i in a b c ; do \\\n'> <'\t  echo $i > import/trunk/subversion/bindings/swig/perl/$i.pm &&\n'> 
            <'\t  echo _$i > import/trunk/subversion/bindings/swig/perl/t/$i.t; \\\n'> <'\tdone &&\n'> <'\t  echo "bad delete test" > \\\n'> 
            <'\t   import/trunk/subversion/bindings/swig/perl/t/larger-parent &&\n'> <'\t  echo "bad delete test 2" > \\\n'> 
            <'\t   import/trunk/subversion/bindings/swig/perl/another-larger &&\n'> <'\t(\n'> <'\t\tcd import &&\n'> <'\t\tsvn import -m "r9270 test" . "$svnrepo"/r9270\n'> <'\t) &&\n'> 
            <'\tsvn_cmd co "$svnrepo"/r9270/trunk/subversion/bindings/swig/perl r9270 &&\n'> <'\t(\n'> <'\t\tcd r9270 &&\n'> <'\t\tsvn mkdir native &&\n'> <'\t\tsvn mv t native/t &&\n'> 
            <'\t\tfor i in a b c\n'> <'\t\tdo\n'> <'\t\t\tsvn mv $i.pm native/$i.pm\n'> <'\t\tdone &&\n'> <'\t\techo z >>native/t/c.t &&\n'> 
            <'\t\tpoke native/t/c.t &&\n'> <'\t\tsvn commit -m "reorg test"\n'> <'\t) &&\n'> <'\tgit svn init --minimize-url -i r9270-t \\\n'> 
            <'\t  "$svnrepo"/r9270/trunk/subversion/bindings/swig/perl/native/t &&\n'> <'\tgit svn fetch -i r9270-t &&\n'> <'\ttest $(git rev-list r9270-t | wc -l) -eq 2 &&\n'> 
            <'\ttest "$(git ls-tree --name-only r9270-t~1)" = \\\n'> <'\t     "$(git ls-tree --name-only r9270-t)"\n'> <'\t'>
          )
        }
      ]
      redirects: []
      do_fork: T
    )
    (command.Simple
      blame_tok: <test_expect_success>
      more_env: []
      words: [
        {<test_expect_success>}
        {(DQ <'track initial change if it was only made to parent'>)}
        {
          (SQ <'\n'> <'\tsvn_cmd cp -m "wheee!" "$svnrepo"/r9270/trunk "$svnrepo"/r9270/drunk &&\n'> 
            <'\tgit svn init --minimize-url -i r9270-d \\\n'> <'\t  "$svnrepo"/r9270/drunk/subversion/bindings/swig/perl/native/t &&\n'> 
            <'\tgit svn fetch -i r9270-d &&\n'> <'\ttest $(git rev-list r9270-d | wc -l) -eq 3 &&\n'> 
            <'\ttest "$(git ls-tree --name-only r9270-t)" = \\\n'> <'\t     "$(git ls-tree --name-only r9270-d)" &&\n'> <'\ttest "$(git rev-parse r9270-t)" = \\\n'> 
            <'\t     "$(git rev-parse r9270-d~1)"\n'> <'\t'>
          )
        }
      ]
      redirects: []
      do_fork: T
    )
    (command.Simple
      blame_tok: <test_expect_success>
      more_env: []
      words: [
        {<test_expect_success>}
        {(DQ <'follow-parent is atomic'>)}
        {
          (SQ <'\n'> <'\t(\n'> <'\t\tcd wc &&\n'> <'\t\tsvn_cmd up &&\n'> 
            <'\t\tsvn_cmd mkdir stunk &&\n'> <'\t\techo "trunk stunk" > stunk/readme &&\n'> <'\t\tsvn_cmd add stunk/readme &&\n'> 
            <'\t\tsvn_cmd ci -m "trunk stunk" &&\n'> <'\t\techo "stunk like junk" >> stunk/readme &&\n'> <'\t\tsvn_cmd ci -m "really stunk" &&\n'> 
            <'\t\techo "stink stank stunk" >> stunk/readme &&\n'> <'\t\tsvn_cmd ci -m "even the grinch agrees"\n'> <'\t) &&\n'> 
            <'\tsvn_cmd copy -m "stunk flunked" "$svnrepo"/stunk "$svnrepo"/flunk &&\n'> <'\t{ svn cp -m "early stunk flunked too" \\\n'> <'\t\t"$svnrepo"/stunk@17 "$svnrepo"/flunked ||\n'> 
            <'\tsvn_cmd cp -m "early stunk flunked too" \\\n'> <'\t\t-r17 "$svnrepo"/stunk "$svnrepo"/flunked; } &&\n'> 
            <'\tgit svn init --minimize-url -i stunk "$svnrepo"/stunk &&\n'> <'\tgit svn fetch -i stunk &&\n'> <'\tgit update-ref refs/remotes/flunk@18 refs/remotes/stunk~2 &&\n'> 
            <'\tgit update-ref -d refs/remotes/stunk &&\n'> <'\tgit config --unset svn-remote.svn.fetch stunk &&\n'> 
            <'\tmkdir -p "$GIT_DIR"/svn/refs/remotes/flunk@18 &&\n'> <'\trev_map=$(cd "$GIT_DIR"/svn/refs/remotes/stunk && ls .rev_map*) &&\n'> 
            <'\tdd if="$GIT_DIR"/svn/refs/remotes/stunk/$rev_map \\\n'> <'\t   of="$GIT_DIR"/svn/refs/remotes/flunk@18/$rev_map bs=24 count=1 &&\n'> 
            <'\trm -rf "$GIT_DIR"/svn/refs/remotes/stunk &&\n'> <'\tgit svn init --minimize-url -i flunk "$svnrepo"/flunk &&\n'> <'\tgit svn fetch -i flunk &&\n'> 
            <'\tgit svn init --minimize-url -i stunk "$svnrepo"/stunk &&\n'> <'\tgit svn fetch -i stunk &&\n'> <'\tgit svn init --minimize-url -i flunked "$svnrepo"/flunked &&\n'> 
            <'\tgit svn fetch -i flunked &&\n'> <'\ttest "$(git rev-parse --verify refs/remotes/flunk@18)" \\\n'> 
            <'\t   = "$(git rev-parse --verify refs/remotes/stunk)" &&\n'> <'\ttest "$(git rev-parse --verify refs/remotes/flunk~1)" \\\n'> 
            <'\t   = "$(git rev-parse --verify refs/remotes/stunk)" &&\n'> <'\ttest "$(git rev-parse --verify refs/remotes/flunked~1)" \\\n'> 
            <'\t   = "$(git rev-parse --verify refs/remotes/stunk~1)"\n'> <'\t'>
          )
        }
      ]
      redirects: []
      do_fork: T
    )
    (command.Simple
      blame_tok: <test_expect_success>
      more_env: []
      words: [
        {<test_expect_success>}
        {(DQ <'track multi-parent paths'>)}
        {
          (SQ <'\n'> <'\tsvn_cmd cp -m "resurrect /glob" "$svnrepo"/r9270 "$svnrepo"/glob &&\n'> 
            <'\tgit svn multi-fetch &&\n'> <'\ttest $(git cat-file commit refs/remotes/glob | \\\n'> 
            <'\t       grep "^parent " | wc -l) -eq 2\n'> <'\t'>
          )
        }
      ]
      redirects: []
      do_fork: T
    )
    (command.Simple
      blame_tok: <test_expect_success>
      more_env: []
      words: [
        {<test_expect_success>}
        {(DQ <'multi-fetch continues to work'>)}
        {(DQ <'\n'> <'\tgit svn multi-fetch\n'> <'\t'>)}
      ]
      redirects: []
      do_fork: T
    )
    (command.Simple
      blame_tok: <test_expect_success>
      more_env: []
      words: [
        {<test_expect_success>}
        {(DQ <'multi-fetch works off a \'clean\' repository'>)}
        {
          (SQ <'\n'> <'\trm -r "$GIT_DIR/svn" "$GIT_DIR/refs/remotes" "$GIT_DIR/logs" &&\n'> 
            <'\tmkdir "$GIT_DIR/svn" &&\n'> <'\tgit svn multi-fetch\n'> <'\t'>
          )
        }
      ]
      redirects: []
      do_fork: T
    )
    (command.Simple
      blame_tok: <test_debug>
      more_env: []
      words: [{<test_debug>} {(SQ <'gitk --all &'>)}]
      redirects: []
      do_fork: T
    )
    (command.Simple
      blame_tok: <test_done>
      more_env: []
      words: [{<test_done>}]
      redirects: []
      do_fork: T
    )
  ]
)