(command.CommandList children: [ (command.Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:test_description) op: Equal rhs: {(SQ <'git svn respects rewriteRoot during rebuild'>)} ) ] ) (C {(.)} {(./lib-git-svn.sh)}) (C {(mkdir)} {(import)}) (command.Subshell command_list: (command.CommandList children: [ (C {(cd)} {(import)}) (C {(touch)} {(foo)}) (command.SimpleCommand words: [ {(svn_cmd)} {(import)} {(-m)} {(SQ <'import for git svn'>)} {(.)} {(DQ ($ VSub_DollarName '$svnrepo'))} ] redirects: [(redir.Redir op:<Redir_Great '>'> fd:16777215 arg_word:{(/dev/null)})] ) ] ) ) (C {(rm)} {(-rf)} {(import)}) (C {(test_expect_success)} {(SQ <'init, fetch and checkout repository'>)} { (SQ <'\n'> <'\tgit svn init --rewrite-root=http://invalid.invalid/ "$svnrepo" &&\n'> <'\tgit svn fetch &&\n'> <'\tgit checkout -b mybranch remotes/git-svn\n'> <'\t'> ) } ) (C {(test_expect_success)} {(SQ <'remove rev_map'>)} {(SQ <'\n'> <'\trm "$GIT_SVN_DIR"/.rev_map.*\n'> <'\t'>)} ) (C {(test_expect_success)} {(SQ <'rebuild rev_map'>)} {(SQ <'\n'> <'\tgit svn rebase >/dev/null\n'> <'\t'>)} ) (C {(test_done)}) ] )