(List
  (= scope=<EAssignScope.GLOBAL 1> flags=0 words=[] bindings=[('test_description', {[SQ <LIT_CHARS "git svn creates empty directories">]})])
  (Com {[LIT_CHARS .]} {[LIT_CHARS ./lib-git-svn.sh]}  )
  (Com {[LIT_CHARS test_expect_success]} {[SQ <LIT_CHARS "initialize repo">]} {[SQ <LIT_CHARS "\n"> <LIT_CHARS "\tfor i in a b c d d/e d/e/f \"weird file name\"\n"> <LIT_CHARS "\tdo\n"> <LIT_CHARS "\t\tsvn_cmd mkdir -m \"mkdir $i\" \"$svnrepo\"/\"$i\"\n"> <LIT_CHARS "\tdone\n">]}  )
  (Com {[LIT_CHARS test_expect_success]} {[SQ <LIT_CHARS clone>]} {[SQ <LIT_CHARS "git svn clone \"$svnrepo\" cloned">]}  )
  (Com {[LIT_CHARS test_expect_success]} {[SQ <LIT_CHARS "empty directories exist">]} {[SQ <LIT_CHARS "\n"> <LIT_CHARS "\t(\n"> <LIT_CHARS "\t\tcd cloned &&\n"> <LIT_CHARS "\t\tfor i in a b c d d/e d/e/f \"weird file name\"\n"> <LIT_CHARS "\t\tdo\n"> <LIT_CHARS "\t\t\tif ! test -d \"$i\"\n"> <LIT_CHARS "\t\t\tthen\n"> <LIT_CHARS "\t\t\t\techo >&2 \"$i does not exist\"\n"> <LIT_CHARS "\t\t\t\texit 1\n"> <LIT_CHARS "\t\t\tfi\n"> <LIT_CHARS "\t\tdone\n"> <LIT_CHARS "\t)\n">]}  )
  (Com {[LIT_CHARS test_expect_success]} {[SQ <LIT_CHARS "option automkdirs set to false">]} {[SQ <LIT_CHARS "\n"> <LIT_CHARS "\t(\n"> <LIT_CHARS "\t\tgit svn init \"$svnrepo\" cloned-no-mkdirs &&\n"> <LIT_CHARS "\t\tcd cloned-no-mkdirs &&\n"> <LIT_CHARS "\t\tgit config svn-remote.svn.automkdirs false &&\n"> <LIT_CHARS "\t\tgit svn fetch &&\n"> <LIT_CHARS "\t\tfor i in a b c d d/e d/e/f \"weird file name\"\n"> <LIT_CHARS "\t\tdo\n"> <LIT_CHARS "\t\t\tif test -d \"$i\"\n"> <LIT_CHARS "\t\t\tthen\n"> <LIT_CHARS "\t\t\t\techo >&2 \"$i exists\"\n"> <LIT_CHARS "\t\t\t\texit 1\n"> <LIT_CHARS "\t\t\tfi\n"> <LIT_CHARS "\t\tdone\n"> <LIT_CHARS "\t)\n">]}  )
  (Com {[LIT_CHARS test_expect_success]} {[SQ <LIT_CHARS "more emptiness">]} {[SQ <LIT_CHARS "\n"> <LIT_CHARS "\tsvn_cmd mkdir -m \"bang bang\"  \"$svnrepo\"/\"! !\"\n">]}  )
  (Com {[LIT_CHARS test_expect_success]} {[SQ <LIT_CHARS "git svn rebase creates empty directory">]} {[SQ <LIT_CHARS "\n"> <LIT_CHARS "\t( cd cloned && git svn rebase ) &&\n"> <LIT_CHARS "\ttest -d cloned/\"! !\"\n">]}  )
  (Com {[LIT_CHARS test_expect_success]} {[SQ <LIT_CHARS "git svn mkdirs recreates empty directories">]} {[SQ <LIT_CHARS "\n"> <LIT_CHARS "\t(\n"> <LIT_CHARS "\t\tcd cloned &&\n"> <LIT_CHARS "\t\trm -r * &&\n"> <LIT_CHARS "\t\tgit svn mkdirs &&\n"> <LIT_CHARS "\t\tfor i in a b c d d/e d/e/f \"weird file name\" \"! !\"\n"> <LIT_CHARS "\t\tdo\n"> <LIT_CHARS "\t\t\tif ! test -d \"$i\"\n"> <LIT_CHARS "\t\t\tthen\n"> <LIT_CHARS "\t\t\t\techo >&2 \"$i does not exist\"\n"> <LIT_CHARS "\t\t\t\texit 1\n"> <LIT_CHARS "\t\t\tfi\n"> <LIT_CHARS "\t\tdone\n"> <LIT_CHARS "\t)\n">]}  )
  (Com {[LIT_CHARS test_expect_success]} {[SQ <LIT_CHARS "git svn mkdirs -r works">]} {[SQ <LIT_CHARS "\n"> <LIT_CHARS "\t(\n"> <LIT_CHARS "\t\tcd cloned &&\n"> <LIT_CHARS "\t\trm -r * &&\n"> <LIT_CHARS "\t\tgit svn mkdirs -r7 &&\n"> <LIT_CHARS "\t\tfor i in a b c d d/e d/e/f \"weird file name\"\n"> <LIT_CHARS "\t\tdo\n"> <LIT_CHARS "\t\t\tif ! test -d \"$i\"\n"> <LIT_CHARS "\t\t\tthen\n"> <LIT_CHARS "\t\t\t\techo >&2 \"$i does not exist\"\n"> <LIT_CHARS "\t\t\t\texit 1\n"> <LIT_CHARS "\t\t\tfi\n"> <LIT_CHARS "\t\tdone\n"> <LIT_CHARS "\n"> <LIT_CHARS "\t\tif test -d \"! !\"\n"> <LIT_CHARS "\t\tthen\n"> <LIT_CHARS "\t\t\techo >&2 \"$i should not exist\"\n"> <LIT_CHARS "\t\t\texit 1\n"> <LIT_CHARS "\t\tfi\n"> <LIT_CHARS "\n"> <LIT_CHARS "\t\tgit svn mkdirs -r8 &&\n"> <LIT_CHARS "\t\tif ! test -d \"! !\"\n"> <LIT_CHARS "\t\tthen\n"> <LIT_CHARS "\t\t\techo >&2 \"$i not exist\"\n"> <LIT_CHARS "\t\t\texit 1\n"> <LIT_CHARS "\t\tfi\n"> <LIT_CHARS "\t)\n">]}  )
  (Com {[LIT_CHARS test_expect_success]} {[SQ <LIT_CHARS "initialize trunk">]} {[SQ <LIT_CHARS "\n"> <LIT_CHARS "\tfor i in trunk trunk/a trunk/\"weird file name\"\n"> <LIT_CHARS "\tdo\n"> <LIT_CHARS "\t\tsvn_cmd mkdir -m \"mkdir $i\" \"$svnrepo\"/\"$i\"\n"> <LIT_CHARS "\tdone\n">]}  )
  (Com {[LIT_CHARS test_expect_success]} {[SQ <LIT_CHARS "clone trunk">]} {[SQ <LIT_CHARS "git svn clone -s \"$svnrepo\" trunk">]}  )
  (Com {[LIT_CHARS test_expect_success]} {[SQ <LIT_CHARS "empty directories in trunk exist">]} {[SQ <LIT_CHARS "\n"> <LIT_CHARS "\t(\n"> <LIT_CHARS "\t\tcd trunk &&\n"> <LIT_CHARS "\t\tfor i in a \"weird file name\"\n"> <LIT_CHARS "\t\tdo\n"> <LIT_CHARS "\t\t\tif ! test -d \"$i\"\n"> <LIT_CHARS "\t\t\tthen\n"> <LIT_CHARS "\t\t\t\techo >&2 \"$i does not exist\"\n"> <LIT_CHARS "\t\t\t\texit 1\n"> <LIT_CHARS "\t\t\tfi\n"> <LIT_CHARS "\t\tdone\n"> <LIT_CHARS "\t)\n">]}  )
  (Com {[LIT_CHARS test_expect_success]} {[SQ <LIT_CHARS "remove a top-level directory from svn">]} {[SQ <LIT_CHARS "\n"> <LIT_CHARS "\tsvn_cmd rm -m \"remove d\" \"$svnrepo\"/d\n">]}  )
  (Com {[LIT_CHARS test_expect_success]} {[SQ <LIT_CHARS "removed top-level directory does not exist">]} {[SQ <LIT_CHARS "\n"> <LIT_CHARS "\tgit svn clone \"$svnrepo\" removed &&\n"> <LIT_CHARS "\ttest ! -e removed/d\n"> <LIT_CHARS "\n">]}  )
  (= scope=<EAssignScope.GLOBAL 1> flags=0 words=[] bindings=[('unhandled', {[LIT_CHARS .git/svn/refs/remotes/git-svn/unhandled.log]})])
  (Com {[LIT_CHARS test_expect_success]} {[SQ <LIT_CHARS "git svn gc-ed files work">]} {[SQ <LIT_CHARS "\n"> <LIT_CHARS "\t(\n"> <LIT_CHARS "\t\tcd removed &&\n"> <LIT_CHARS "\t\tgit svn gc &&\n"> <LIT_CHARS "\t\t: Compress::Zlib may not be available &&\n"> <LIT_CHARS "\t\tif test -f \"$unhandled\".gz\n"> <LIT_CHARS "\t\tthen\n"> <LIT_CHARS "\t\t\tsvn_cmd mkdir -m gz \"$svnrepo\"/gz &&\n"> <LIT_CHARS "\t\t\tgit reset --hard $(git rev-list HEAD | tail -1) &&\n"> <LIT_CHARS "\t\t\tgit svn rebase &&\n"> <LIT_CHARS "\t\t\ttest -f \"$unhandled\".gz &&\n"> <LIT_CHARS "\t\t\ttest -f \"$unhandled\" &&\n"> <LIT_CHARS "\t\t\tfor i in a b c \"weird file name\" gz \"! !\"\n"> <LIT_CHARS "\t\t\tdo\n"> <LIT_CHARS "\t\t\t\tif ! test -d \"$i\"\n"> <LIT_CHARS "\t\t\t\tthen\n"> <LIT_CHARS "\t\t\t\t\techo >&2 \"$i does not exist\"\n"> <LIT_CHARS "\t\t\t\t\texit 1\n"> <LIT_CHARS "\t\t\t\tfi\n"> <LIT_CHARS "\t\t\tdone\n"> <LIT_CHARS "\t\tfi\n"> <LIT_CHARS "\t)\n">]}  )
  (Com {[LIT_CHARS test_done]}  )
)