(List (= scope= flags=0 words=[] bindings=[('test_description', {[SQ ]})]) (= scope= flags=0 words=[] bindings=[('GIT_SVN_LC_ALL', {[VarSub LC_ALL test_op=VS_TEST_COLON_HYPHEN {[VarSub LANG]}]})]) (Com {[LIT_CHARS .]} {[LIT_CHARS ./lib-git-svn.sh]} ) (Com {[LIT_CHARS say]} {[SQ ]} ) (Case to_match={[DQ [VarSub GIT_SVN_LC_ALL]]}, pat_word_list=[[{[LIT_OTHER "*"] [LIT_CHARS .UTF-8]}], [{[LIT_OTHER "*"]}]] (Com {[LIT_CHARS test_set_prereq]} {[LIT_CHARS UTF8]} ) (Com {[LIT_CHARS say]} {[DQ [LIT_CHARS "# UTF-8 locale not set, some tests skipped ("][VarSub GIT_SVN_LC_ALL][LIT_CHARS ")"]]} ) ) (Com {[LIT_CHARS test_expect_success]} {[SQ ]} {[SQ foo &&\n"> dir/a/b/c/d/e/file &&\n"> bar/zzz &&\n"> exec.sh &&\n"> /dev/null\n"> ]} ) (Com {[LIT_CHARS test_expect_success]} {[SQ ]} {[SQ ]} ) (Com {[LIT_CHARS test_expect_success]} {[DQ [LIT_CHARS "checkout from svn"]]} {[SQ ]} ) (= scope= flags=0 words=[] bindings=[('name', {[SQ ]})]) (Com {[LIT_CHARS test_expect_success]} {[DQ [VarSub name]]} {[SQ ]} ) (= scope= flags=0 words=[] bindings=[('name', {[SQ ]})]) (Com {[LIT_CHARS test_expect_success]} {[DQ [VarSub name]]} {[DQ [LIT_CHARS "\n"][LIT_CHARS "\tmkdir dir/new_file &&\n"][LIT_CHARS "\tmv dir/file dir/new_file/file &&\n"][LIT_CHARS "\tmv dir/new_file dir/file &&\n"][LIT_CHARS "\tgit update-index --remove dir/file &&\n"][LIT_CHARS "\tgit update-index --add dir/file/file &&\n"][LIT_CHARS "\tgit commit -m '"][VarSub name][LIT_CHARS "' &&\n"][LIT_CHARS "\ttest_must_fail git svn set-tree --find-copies-harder --rmdir "][LIT_CHARS "\t\t"][VarSub remotes_git_svn][LIT_CHARS "..mybranch\n"]]} ) (= scope= flags=0 words=[] bindings=[('name', {[SQ ]})]) (Com {[LIT_CHARS test_expect_success]} {[DQ [VarSub name]]} {[SQ ]} ) (= scope= flags=0 words=[] bindings=[('name', {[SQ ]})]) (Com {[LIT_CHARS test_expect_success]} {[DQ [VarSub name]]} {[SQ bar/zzz/yyy &&\n"> ]} ) (= scope= flags=0 words=[] bindings=[('name', {[SQ ]})]) (Com {[LIT_CHARS test_expect_success]} {[DQ [VarSub name]]} {[SQ dir &&\n"> ]} ) (= scope= flags=0 words=[] bindings=[('name', {[SQ ]})]) (Com {[LIT_CHARS test_expect_success]} {[DQ [VarSub name]]} {[SQ ]} ) (= scope= flags=0 words=[] bindings=[('name', {[SQ ]})]) (Com {[LIT_CHARS test_expect_success]} {[DQ [VarSub name]]} {[SQ ]} ) (= scope= flags=0 words=[] bindings=[('name', {[SQ ]})]) (Com {[LIT_CHARS test_expect_success]} {[DQ [VarSub name]]} {[SQ ]} ) (= scope= flags=0 words=[] bindings=[('name', {[SQ ]})]) (Com {[LIT_CHARS test_expect_success]} {[DQ [VarSub name]]} {[SQ ]} ) (= scope= flags=0 words=[] bindings=[('name', {[SQ ]})]) (Com {[LIT_CHARS test_expect_success]} {[DQ [VarSub name]]} {[SQ help &&\n"> ]} ) (= scope= flags=0 words=[] bindings=[('name', {[DQ [LIT_CHARS "commit with UTF-8 message: locale: "][VarSub GIT_SVN_LC_ALL]]})]) (= scope= flags=0 words=[] bindings=[('LC_ALL', {[DQ [VarSub GIT_SVN_LC_ALL]]})]) (= scope= flags=1 words=[{[LIT_CHARS LC_ALL]}] bindings=[]) (Com {[LIT_CHARS test_expect_success]} {[LIT_CHARS UTF8]} {[DQ [VarSub name]]} {[DQ [LIT_CHARS "\n"][LIT_CHARS "\techo '# hello' >> exec-2.sh &&\n"][LIT_CHARS "\tgit update-index exec-2.sh &&\n"][LIT_CHARS "\tgit commit -m '\u00e9\u00ef\u220f' &&\n"][LIT_CHARS "\tgit svn set-tree HEAD"]]} ) (Com {[LIT_CHARS unset]} {[LIT_CHARS LC_ALL]} ) (= scope= flags=0 words=[] bindings=[('name', {[SQ git) with alternate GIT_SVN_ID">]})]) (= scope= flags=0 words=[] bindings=[('GIT_SVN_ID', {[LIT_CHARS alt]})]) (= scope= flags=1 words=[{[LIT_CHARS GIT_SVN_ID]}] bindings=[]) (Com {[LIT_CHARS test_expect_success]} {[DQ [VarSub name]]} {[SQ a &&\n"> b &&\n"> ]} ) (= scope= flags=0 words=[] bindings=[('name', {[SQ ]})]) (Com {[LIT_CHARS rm]} {[LIT_CHARS -f]} {[LIT_CHARS expected]} ) (If (Com {[LIT_CHARS test_have_prereq]} {[LIT_CHARS UTF8]} ) (Com {[LIT_CHARS echo]} {[LIT_CHARS tree]} {[LIT_CHARS dc68b14b733e4ec85b04ab6f712340edc5dc936e]} < (FilenameRedirectNode filename={[LIT_CHARS expected]} "> 1), > ) ) (Com {[LIT_CHARS cat]} < (FilenameRedirectNode filename={[LIT_CHARS expected]} >"> 1), (HereDocRedirectNode here_end='EOF' do_expansion=False body_word={[LIT_CHARS "tree c3322890dcf74901f32d216f05c5044f670ce632\n"] [LIT_CHARS "tree d3ccd5035feafd17b030c5732e7808cc49122853\n"] [LIT_CHARS "tree d03e1630363d4881e68929d532746b20b0986b83\n"] [LIT_CHARS "tree 149d63cd5878155c846e8c55d7d8487de283f89e\n"] [LIT_CHARS "tree 312b76e4f64ce14893aeac8591eb3960b065e247\n"] [LIT_CHARS "tree 149d63cd5878155c846e8c55d7d8487de283f89e\n"] [LIT_CHARS "tree d667270a1f7b109f5eb3aaea21ede14b56bfdd6e\n"] [LIT_CHARS "tree 8f51f74cf0163afc9ad68a4b1537288c4558b5a4\n"]} 0), > ) (Com {[LIT_CHARS test_expect_success]} {[DQ [VarSub name]]} {[DQ [LIT_CHARS "test_cmp a expected"]]} ) (Com {[LIT_CHARS test_expect_success]} {[SQ ]} {[DQ [LIT_CHARS "\n"][LIT_CHARS " git config --add svn-remote.svn.fetch "][LIT_CHARS " bar:refs/"][VarSub remotes_git_svn][LIT_CHARS " &&\n"][LIT_CHARS "\ttest_must_fail git svn migrate\n"]]} ) (Com {[LIT_CHARS test_expect_success]} {[SQ ]} {[SQ ]} ) (Com {[LIT_CHARS test_expect_success]} {[SQ ]} {[SQ ]} ) (Com {[LIT_CHARS test_expect_success]} {[SQ ]} {[SQ foo &&\n"> foo &&\n"> ]} ) (Com {[LIT_CHARS test_expect_success]} {[SQ ]} {[DQ [LIT_CHARS "\n"][LIT_CHARS "\tgit svn fetch -i bar &&\n"][LIT_CHARS "\tgit checkout -b my-bar refs/remotes/bar &&\n"][LIT_CHARS "\techo abc > d &&\n"][LIT_CHARS "\tgit update-index --add d &&\n"][LIT_CHARS "\tgit commit -m '/bar/d should be in the log' &&\n"][LIT_CHARS "\tgit svn dcommit -i bar &&\n"][LIT_CHARS "\ttest -z "][\ LIT_ESCAPED_CHAR "\\\""][\ LIT_ESCAPED_CHAR "\\`"][LIT_CHARS "git diff refs/heads/my-bar refs/remotes/bar"][\ LIT_ESCAPED_CHAR "\\`"][\ LIT_ESCAPED_CHAR "\\\""][LIT_CHARS " &&\n"][LIT_CHARS "\tmkdir newdir &&\n"][LIT_CHARS "\techo new > newdir/dir &&\n"][LIT_CHARS "\tgit update-index --add newdir/dir &&\n"][LIT_CHARS "\tgit commit -m 'add a new directory' &&\n"][LIT_CHARS "\tgit svn dcommit -i bar &&\n"][LIT_CHARS "\ttest -z "][\ LIT_ESCAPED_CHAR "\\\""][\ LIT_ESCAPED_CHAR "\\`"][LIT_CHARS "git diff refs/heads/my-bar refs/remotes/bar"][\ LIT_ESCAPED_CHAR "\\`"][\ LIT_ESCAPED_CHAR "\\\""][LIT_CHARS " &&\n"][LIT_CHARS "\techo foo >> newdir/dir &&\n"][LIT_CHARS "\tgit update-index newdir/dir &&\n"][LIT_CHARS "\tgit commit -m 'modify a file in new directory' &&\n"][LIT_CHARS "\tgit svn dcommit -i bar &&\n"][LIT_CHARS "\ttest -z "][\ LIT_ESCAPED_CHAR "\\\""][\ LIT_ESCAPED_CHAR "\\`"][LIT_CHARS "git diff refs/heads/my-bar refs/remotes/bar"][\ LIT_ESCAPED_CHAR "\\`"][\ LIT_ESCAPED_CHAR "\\\""][LIT_CHARS "\n"][LIT_CHARS "\t"]]} ) (Com {[LIT_CHARS test_expect_success]} {[SQ ]} {[SQ ]} ) (Com {[LIT_CHARS test_expect_success]} {[SQ ]} {[SQ ]} ) (Com {[LIT_CHARS test_expect_success]} {[SQ ]} {[DQ [LIT_CHARS "\n"][LIT_CHARS "\techo cba > d &&\n"][LIT_CHARS "\tgit update-index d &&\n"][LIT_CHARS "\tgit commit -m 'update /bar/d' &&\n"][LIT_CHARS "\tgit svn set-tree -i bar HEAD &&\n"][LIT_CHARS "\ttest -z "][\ LIT_ESCAPED_CHAR "\\\""][\ LIT_ESCAPED_CHAR "\\`"][LIT_CHARS "git diff refs/heads/my-bar refs/remotes/bar"][\ LIT_ESCAPED_CHAR "\\`"][\ LIT_ESCAPED_CHAR "\\\""][LIT_CHARS "\n"][LIT_CHARS "\t"]]} ) (Com {[LIT_CHARS test_expect_success]} {[SQ ]} {[SQ ]} ) (Com {[LIT_CHARS test_done]} ) )