(CommandList children: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:test_description) op: Equal rhs: {(SQ <"test that git handles an svn repository with empty symlinks">)} spids: [4] ) ] spids: [4] ) (C {(.)} {(./lib-git-svn.sh)}) (C {(test_expect_success)} {(SQ <"load svn dumpfile">)} { (SQ <"\n"> <"\tsvnadmin load \"$rawsvnrepo\" <<EOF\n"> <"SVN-fs-dump-format-version: 2\n"> <"\n"> <"UUID: 60780f9a-7df5-43b4-83ab-60e2c0673ef7\n"> <"\n"> <"Revision-number: 0\n"> <"Prop-content-length: 56\n"> <"Content-length: 56\n"> <"\n"> <"K 8\n"> <"svn:date\n"> <"V 27\n"> <"2008-11-26T07:17:27.590577Z\n"> <"PROPS-END\n"> <"\n"> <"Revision-number: 1\n"> <"Prop-content-length: 111\n"> <"Content-length: 111\n"> <"\n"> <"K 7\n"> <"svn:log\n"> <"V 4\n"> <"test\n"> <"K 10\n"> <"svn:author\n"> <"V 12\n"> <"normalperson\n"> <"K 8\n"> <"svn:date\n"> <"V 27\n"> <"2008-11-26T07:18:03.511836Z\n"> <"PROPS-END\n"> <"\n"> <"Node-path: bar\n"> <"Node-kind: file\n"> <"Node-action: add\n"> <"Prop-content-length: 33\n"> <"Text-content-length: 4\n"> <"Text-content-md5: 912ec803b2ce49e4a541068d495ab570\n"> <"Content-length: 37\n"> <"\n"> <"K 11\n"> <"svn:special\n"> <"V 1\n"> <"*\n"> <"PROPS-END\n"> <"asdf\n"> <"\n"> <"Revision-number: 2\n"> <"Prop-content-length: 121\n"> <"Content-length: 121\n"> <"\n"> <"K 7\n"> <"svn:log\n"> <"V 13\n"> <"bar => doink\n"> <"\n"> <"K 10\n"> <"svn:author\n"> <"V 12\n"> <"normalperson\n"> <"K 8\n"> <"svn:date\n"> <"V 27\n"> <"2008-11-27T03:55:31.601672Z\n"> <"PROPS-END\n"> <"\n"> <"Node-path: bar\n"> <"Node-kind: file\n"> <"Node-action: change\n"> <"Text-content-length: 10\n"> <"Text-content-md5: 92ca4fe7a9721f877f765c252dcd66c9\n"> <"Content-length: 10\n"> <"\n"> <"link doink\n"> <"\n"> <"EOF\n"> ) } ) (C {(test_expect_success)} {(SQ <"clone using git svn">)} {(SQ <"git svn clone -r1 \"$svnrepo\" x">)}) (C {(test_expect_success)} {(SYMLINKS)} {(SQ <"\"bar\" is a symlink that points to \"asdf\"">)} { (SQ <"\n"> <"\ttest -L x/bar &&\n"> <"\t(cd x && test xasdf = x\"$(git cat-file blob HEAD:bar)\")\n"> ) } ) (C {(test_expect_success)} {(SQ <"get \"bar\" => symlink fix from svn">)} {(SQ <"\n"> <"\t(cd x && git svn rebase)\n">)} ) (C {(test_expect_success)} {(SYMLINKS)} {(SQ <"\"bar\" remains a proper symlink">)} { (SQ <"\n"> <"\ttest -L x/bar &&\n"> <"\t(cd x && test xdoink = x\"$(git cat-file blob HEAD:bar)\")\n"> ) } ) (C {(test_done)}) ] )