{"thread":{"id":"47433","subject":"git svn dcommit error: Cannot accept non-LF line endings in 'svn:log' property","startedAt":"2017-12-12T14:11:06Z","lastAt":"2017-12-15T19:35:37Z","messageCount":6,"participants":["Bennett, Brian","Eric Wong","Todd Zullinger","Junio C Hamano"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"334678","messageId":"BL2PR05MB2179DEBF7123ACD090E60F2685340@BL2PR05MB2179.namprd05.prod.outlook.com","threadId":"47433","inReplyTo":null,"subject":"git svn dcommit error: Cannot accept non-LF line endings in 'svn:log' property","fromName":"Bennett, Brian","fromEmail":"brian.bennett@transamerica.com","sentAt":"2017-12-12T14:10:43Z","receivedAt":"2017-12-12T14:11:06Z","isPatch":false,"sender":{"key":"brian.bennett@transamerica.com","avatar":null},"body":"Environment:\n\nDesktop: Windows 7 Enterprise 64-bit\nsvn client (if applicable): 1.8.8 from Apache\ngit (https://git-for-windows.github.io/): git version 2.10.1.windows.1\nGitTfs (https://github.com/git-tfs/git-tfs): git-tfs version 0.27.0.0 (TFS client library 14.0.0.0 (MS)) (32-bit)\nTeam Foundation Server: 2010\nVisual Studio installation: 2010 and 2015\n\nAll processing is being done on my desktop described above. My goal is to migrate Team Foundation Server source into git and then from git into a local SVN repository. The specific source from Team Foundation Server has only 2 changesets made against it and neither have a commit message associated with them.\n\nSteps I'm taking:\n\n1. Open a Windows (cmd.exe) command shell and put git-tfs into Path:\nSet Path=C:\\Users\\brbennett\\Downloads\\GitTfs-0.27.0;%Path%\n\n2. Create empty folder C:\\TEMP\\gitclone\\Project_Elevation_Request and make this the working folder.\n\n3. git-tfs clone -d \"http://tfs:8080/tfs/collection\" $/Folder1/Production/Elevation_Request\nI can see the only 2 TFS changesets being cloned into the local git repository.\nC423 = 6dfefb6160b53da7f580f24f2ce41af04f508b8a\nC424 = e8d6573b5a6e29db78fd420f843ca7ad7480eda2\n\n4. Move working folder to C:\\TEMP\\gitclone\\Project_Elevation_Request\\Elevation_Request\n\n5. Create empty folder C:\\TEMP\\SVN\\repos and create empty SVN repository:\nsvnadmin --compatible-version 1.8 create C:\\TEMP\\SVN\\repos\\Elevation_Request\n\n6. Start up local SVN server in a different shell:\nsvnserve -d -r C:\\TEMP\\SVN\\repos\n\n7. Create trunk in local \nsvn mkdir --parents svn:///C:/TEMP/SVN/repos/Elevation_Request/trunk -m \"Importing git repo\"\nCommitted revision 1.\n\n8. git svn init svn:///C:/TEMP/SVN/repos/%PROJNAME% -s\n\n9. git svn fetch\nR1 for the trunk created earlier is retrieved\nr1 = 5efc0da5f5af4cd62fde660a4402e3a751c2b003 (refs/remotes/origin/trunk)\n\n10. git rebase origin/trunk\nFirst, rewinding head to replay your work on top of it...\nApplying:\nApplying:\n\n11. git svn dcommit\nCommitting to svn:///C:/TEMP/SVN/repos/Source_elevation_tool/trunk ...\n        A       Source_elevation_tool.sln\n        A       Source_elevation_tool/Form1.Designer.cs\n        A       Source_elevation_tool/Form1.cs\n        A       Source_elevation_tool/Form1.resx\n\nERROR from SVN:\nWrong or unexpected property value: Cannot accept non-LF line endings in 'svn:log' property\nW: 40ff09d157bcbbf1e6deefd2222e38ed499ec8ac and refs/remotes/origin/trunk differ, using rebase -v:\n:100644 000000 8222efb4e5a055b3b0b41ab91972f07dd71e4b10 0000000000000000000000000000000000000000 D      Source_elevation_tool.sln\n:100644 000000 794f014c920a6aee2f21ee348e30f38a458e9c7d 0000000000000000000000000000000000000000 D      Source_elevation_tool.vssscc\n:040000 000000 0acaa94fa910fe974019ae4c2dcbf9a620437758 0000000000000000000000000000000000000000 D      Source_elevation_tool\nCurrent branch master is up to date.\nERROR: Not all changes have been committed into SVN, however the committed\nones (if any) seem to be successfully integrated into the working tree.\nPlease see the above messages for details.\n\nI've researched enough to believe that the commit message being used by git svn contains a carriage return character (x'0D') and that has not been allowed in Subversion since version 1.6 (I can replicate this specific error message using an SVN dump file that contains x'0D' characters in the log messages.). However, I cannot find where I have any control over the log message that git svn is trying to use nor can I observe it. Note that I've also used the '-v' switch with the 'git svn dcommit', but do not receive anything other than what I am showing above.\n\nBrian Bennett | Supv System Admin & Support, TA TECH Change Mgmt/Production Support\no: 319-355-7602 | c: 319-533-1094\ne: brian.bennett@transamerica.com | w: www.transamerica.com\n\nTransamerica\n6400 C St. SW, Cedar Rapids, IA 52404 MS-2410\nFacebook | LinkedIn\n\n\n"},{"id":"334790","messageId":"20171214002050.GA32734@whir","threadId":"47433","inReplyTo":"BL2PR05MB2179DEBF7123ACD090E60F2685340@BL2PR05MB2179.namprd05.prod.outlook.com","subject":"[PATCH] git-svn: convert CRLF to LF in commit message to SVN","fromName":"Eric Wong","fromEmail":"e@80x24.org","sentAt":"2017-12-14T00:20:50Z","receivedAt":"2017-12-14T00:20:55Z","isPatch":true,"sender":{"key":"e@80x24.org","avatar":null},"body":"\"Bennett, Brian\" <Brian.Bennett@Transamerica.com> wrote:\n> Environment:\n> \n> Desktop: Windows 7 Enterprise 64-bit\n> svn client (if applicable): 1.8.8 from Apache\n> git (https://git-for-windows.github.io/): git version 2.10.1.windows.1\n> GitTfs (https://github.com/git-tfs/git-tfs): git-tfs version 0.27.0.0 (TFS client library 14.0.0.0 (MS)) (32-bit)\n> Team Foundation Server: 2010\n> Visual Studio installation: 2010 and 2015\n\n<snip>\n\nThanks for the report and research!\n\n> I've researched enough to believe that the commit message\n> being used by git svn contains a carriage return character\n> (x'0D') and that has not been allowed in Subversion since\n> version 1.6 (I can replicate this specific error message using\n> an SVN dump file that contains x'0D' characters in the log\n> messages.). However, I cannot find where I have any control\n> over the log message that git svn is trying to use nor can I\n> observe it. Note that I've also used the '-v' switch with the\n> 'git svn dcommit', but do not receive anything other than what\n> I am showing above.\n\nMaybe git-for-windows isn't filtering CRLF into LF as \"git commit\"\ndoes on GNU/Linux when the original commit was made?\n\nI had to use \"git commit-tree\" to reproduce the error in testing\n(instead of \"git commit)\"\n\nAnyways, the one-line fix below should be enough for you.\nCare to give it a shot?  Thanks again.\n\n\nJunio: please pull when Brian confirms, thanks.\n\nThe following changes since commit 95ec6b1b3393eb6e26da40c565520a8db9796e9f:\n\n  RelNotes: the eighth batch (2017-12-06 09:29:50 -0800)\n\nare available in the git repository at:\n\n  git://bogomips.org/git-svn.git svn-crlf\n\nfor you to fetch changes up to 95450bbbaaacaf2d603a4fbded25d55243dfb291:\n\n  git-svn: convert CRLF to LF in commit message to SVN (2017-12-14 00:09:38 +0000)\n\n----------------------------------------------------------------\nEric Wong (1):\n      git-svn: convert CRLF to LF in commit message to SVN\n\n git-svn.perl                    |  1 +\n t/t9169-git-svn-dcommit-crlf.sh | 27 +++++++++++++++++++++++++++\n 2 files changed, 28 insertions(+)\n create mode 100755 t/t9169-git-svn-dcommit-crlf.sh\n\n------8<--------\nSubject: [PATCH] git-svn: convert CRLF to LF in commit message to SVN\n\nSubversion since 1.6 does not accept CR characters in the commit\nmessage, so filter it out on our end before 'git svn dcommit' sets\nthe svn:log property.\n\nReported-by: Brian Bennett <Brian.Bennett@Transamerica.com>\nSigned-off-by: Eric Wong <e@80x24.org>\n---\n git-svn.perl                    |  1 +\n t/t9169-git-svn-dcommit-crlf.sh | 27 +++++++++++++++++++++++++++\n 2 files changed, 28 insertions(+)\n create mode 100755 t/t9169-git-svn-dcommit-crlf.sh\n\ndiff --git a/git-svn.perl b/git-svn.perl\nindex d2404184ba..aa242d4f4f 100755\n--- a/git-svn.perl\n+++ b/git-svn.perl\n@@ -1865,6 +1865,7 @@ sub get_commit_entry {\n \t\t\t}\n \t\t}\n \t\t$msgbuf =~ s/\\s+$//s;\n+\t\t$msgbuf =~ s/\\r\\n/\\n/sg; # SVN 1.6+ disallows CRLF\n \t\tif ($Git::SVN::_add_author_from && defined($author)\n \t\t    && !$saw_from) {\n \t\t\t$msgbuf .= \"\\n\\nFrom: $author\";\ndiff --git a/t/t9169-git-svn-dcommit-crlf.sh b/t/t9169-git-svn-dcommit-crlf.sh\nnew file mode 100755\nindex 0000000000..54b1f61a2a\n--- /dev/null\n+++ b/t/t9169-git-svn-dcommit-crlf.sh\n@@ -0,0 +1,27 @@\n+#!/bin/sh\n+\n+test_description='git svn dcommit CRLF'\n+. ./lib-git-svn.sh\n+\n+test_expect_success 'setup commit repository' '\n+\tsvn_cmd mkdir -m \"$test_description\" \"$svnrepo/dir\" &&\n+\tgit svn clone \"$svnrepo\" work &&\n+\t(\n+\t\tcd work &&\n+\t\techo foo >>foo &&\n+\t\tgit update-index --add foo &&\n+\t\tprintf \"a\\\\r\\\\n\\\\r\\\\nb\\\\r\\\\nc\\\\r\\\\n\" >cmt &&\n+\t\tp=$(git rev-parse HEAD) &&\n+\t\tt=$(git write-tree) &&\n+\t\tcmt=$(git commit-tree -p $p $t <cmt) &&\n+\t\tgit update-ref refs/heads/master $cmt &&\n+\t\tgit cat-file commit HEAD | tail -n4 >out &&\n+\t\ttest_cmp cmt out &&\n+\t\tgit svn dcommit &&\n+\t\tprintf \"a\\\\n\\\\nb\\\\nc\\\\n\" >exp &&\n+\t\tgit cat-file commit HEAD | sed -ne 6,9p >out &&\n+\t\ttest_cmp exp out\n+\t)\n+'\n+\n+test_done\n-- \nEW\n"},{"id":"334829","messageId":"BL2PR05MB217980546899C5B8EFDE06FF850A0@BL2PR05MB2179.namprd05.prod.outlook.com","threadId":"47433","inReplyTo":"20171214002050.GA32734@whir","subject":"RE: [PATCH] git-svn: convert CRLF to LF in commit message to SVN","fromName":"Bennett, Brian","fromEmail":"brian.bennett@transamerica.com","sentAt":"2017-12-14T20:46:01Z","receivedAt":"2017-12-14T20:46:16Z","isPatch":true,"sender":{"key":"brian.bennett@transamerica.com","avatar":null},"body":"Thank you for your fast response,\n\nI haven't done a build of this type before (so I could test the patch first) so I'm trying to do that and get this far:\n1. git clone https://github.com/msysgit/msysgit.git \"c:\\temp\\git\\guitbuild\"\n2. git clone https://github.com/git-for-windows/git.git \"c:\\temp\\git\\guitbuild\\git\"\n3. c:\\temp\\git\\guitbuild\\msys.bat\n-------------------------------------------------------\nBuilding and Installing Git\n-------------------------------------------------------\n    CC archive-tar.o\nIn file included from run-command.h:5,\n                 from archive-tar.c:9:\ncompat/win32/pthread.h:38: error: expected ')' before 'ConditionVariable'\ncompat/win32/pthread.h:40: error: expected ')' before 'ConditionVariable'\ncompat/win32/pthread.h:42: error: expected ')' before 'ConditionVariable'\ncompat/win32/pthread.h:44: error: expected ')' before 'ConditionVariable'\nmake: *** [archive-tar.o] Error 1\n\nThe applicable lines from compat/win32/pthread.h:\n37: WINBASEAPI VOID WINAPI\n38: InitializeConditionVariable(PCONDITION_VARIABLE ConditionVariable);\n39: WINBASEAPI VOID WINAPI\n40: WakeConditionVariable(PCONDITION_VARIABLE ConditionVariable);\n41: WINBASEAPI VOID WINAPI\n42: WakeAllConditionVariable(PCONDITION_VARIABLE ConditionVariable);\n43: WINBASEAPI BOOL WINAPI\n44: SleepConditionVariableCS(PCONDITION_VARIABLE ConditionVariable,\n45:                         PCRITICAL_SECTION CriticalSection,\n46:                         DWORD dwMilliseconds);\n\nI don't want to drag out testing the patch, so if either of you are able to quickly guide me on what I am doing incorrectly I am willing to get the build done so I can test it. If not, could one of you build with the patch and somehow get that to me so I could test?\n\nBrian Bennett | Supv System Admin & Support, TA TECH Change Mgmt/Production Support\no: 319-355-7602 | c: 319-533-1094\ne: brian.bennett@transamerica.com | w: www.transamerica.com\n\nTransamerica\n6400 C St. SW, Cedar Rapids, IA 52404 MS-2410\nFacebook | LinkedIn\n\n-----Original Message-----\nFrom: Eric Wong [mailto:e@80x24.org] \nSent: Wednesday, December 13, 2017 6:21 PM\nTo: Bennett, Brian <Brian.Bennett@Transamerica.com>; Junio C Hamano <gitster@pobox.com>\nCc: git@vger.kernel.org\nSubject: [PATCH] git-svn: convert CRLF to LF in commit message to SVN\n\n\"Bennett, Brian\" <Brian.Bennett@Transamerica.com> wrote:\n> Environment:\n> \n> Desktop: Windows 7 Enterprise 64-bit\n> svn client (if applicable): 1.8.8 from Apache git \n> (https://urldefense.proofpoint.com/v2/url?u=https-3A__git-2Dfor-2Dwind\n> ows.github.io_&d=DwIBaQ&c=9g4MJkl2VjLjS6R4ei18BA&r=CorEYR_fG6hKwP1xRO7\n> dkFFJM6UfxLGgypqJT0q3mO4&m=f1K2uzEyLbtIX-0te07VlclknjdUztTvbgDMA0thROs\n> &s=3AqxH_SEQG48PhnwuCD8udYta0mqXfgKKlmAWMfSlfE&e=): git version \n> 2.10.1.windows.1 GitTfs \n> (https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_git-2\n> Dtfs_git-2Dtfs&d=DwIBaQ&c=9g4MJkl2VjLjS6R4ei18BA&r=CorEYR_fG6hKwP1xRO7\n> dkFFJM6UfxLGgypqJT0q3mO4&m=f1K2uzEyLbtIX-0te07VlclknjdUztTvbgDMA0thROs\n> &s=C2gZ6zgihigH5eMpa5UVgj1mglbQbGN1HG0blMqjmsY&e=): git-tfs version \n> 0.27.0.0 (TFS client library 14.0.0.0 (MS)) (32-bit) Team Foundation \n> Server: 2010 Visual Studio installation: 2010 and 2015\n\n<snip>\n\nThanks for the report and research!\n\n> I've researched enough to believe that the commit message being used \n> by git svn contains a carriage return character\n> (x'0D') and that has not been allowed in Subversion since version 1.6 \n> (I can replicate this specific error message using an SVN dump file \n> that contains x'0D' characters in the log messages.). However, I \n> cannot find where I have any control over the log message that git svn \n> is trying to use nor can I observe it. Note that I've also used the \n> '-v' switch with the 'git svn dcommit', but do not receive anything \n> other than what I am showing above.\n\nMaybe git-for-windows isn't filtering CRLF into LF as \"git commit\"\ndoes on GNU/Linux when the original commit was made?\n\nI had to use \"git commit-tree\" to reproduce the error in testing (instead of \"git commit)\"\n\nAnyways, the one-line fix below should be enough for you.\nCare to give it a shot?  Thanks again.\n\n\nJunio: please pull when Brian confirms, thanks.\n\nThe following changes since commit 95ec6b1b3393eb6e26da40c565520a8db9796e9f:\n\n  RelNotes: the eighth batch (2017-12-06 09:29:50 -0800)\n\nare available in the git repository at:\n\n  git://bogomips.org/git-svn.git svn-crlf\n\nfor you to fetch changes up to 95450bbbaaacaf2d603a4fbded25d55243dfb291:\n\n  git-svn: convert CRLF to LF in commit message to SVN (2017-12-14 00:09:38 +0000)\n\n----------------------------------------------------------------\nEric Wong (1):\n      git-svn: convert CRLF to LF in commit message to SVN\n\n git-svn.perl                    |  1 +\n t/t9169-git-svn-dcommit-crlf.sh | 27 +++++++++++++++++++++++++++\n 2 files changed, 28 insertions(+)\n create mode 100755 t/t9169-git-svn-dcommit-crlf.sh\n\n------8<--------\nSubject: [PATCH] git-svn: convert CRLF to LF in commit message to SVN\n\nSubversion since 1.6 does not accept CR characters in the commit message, so filter it out on our end before 'git svn dcommit' sets the svn:log property.\n\nReported-by: Brian Bennett <Brian.Bennett@Transamerica.com>\nSigned-off-by: Eric Wong <e@80x24.org>\n---\n git-svn.perl                    |  1 +\n t/t9169-git-svn-dcommit-crlf.sh | 27 +++++++++++++++++++++++++++\n 2 files changed, 28 insertions(+)\n create mode 100755 t/t9169-git-svn-dcommit-crlf.sh\n\ndiff --git a/git-svn.perl b/git-svn.perl index d2404184ba..aa242d4f4f 100755\n--- a/git-svn.perl\n+++ b/git-svn.perl\n@@ -1865,6 +1865,7 @@ sub get_commit_entry {\n \t\t\t}\n \t\t}\n \t\t$msgbuf =~ s/\\s+$//s;\n+\t\t$msgbuf =~ s/\\r\\n/\\n/sg; # SVN 1.6+ disallows CRLF\n \t\tif ($Git::SVN::_add_author_from && defined($author)\n \t\t    && !$saw_from) {\n \t\t\t$msgbuf .= \"\\n\\nFrom: $author\";\ndiff --git a/t/t9169-git-svn-dcommit-crlf.sh b/t/t9169-git-svn-dcommit-crlf.sh new file mode 100755 index 0000000000..54b1f61a2a\n--- /dev/null\n+++ b/t/t9169-git-svn-dcommit-crlf.sh\n@@ -0,0 +1,27 @@\n+#!/bin/sh\n+\n+test_description='git svn dcommit CRLF'\n+. ./lib-git-svn.sh\n+\n+test_expect_success 'setup commit repository' '\n+\tsvn_cmd mkdir -m \"$test_description\" \"$svnrepo/dir\" &&\n+\tgit svn clone \"$svnrepo\" work &&\n+\t(\n+\t\tcd work &&\n+\t\techo foo >>foo &&\n+\t\tgit update-index --add foo &&\n+\t\tprintf \"a\\\\r\\\\n\\\\r\\\\nb\\\\r\\\\nc\\\\r\\\\n\" >cmt &&\n+\t\tp=$(git rev-parse HEAD) &&\n+\t\tt=$(git write-tree) &&\n+\t\tcmt=$(git commit-tree -p $p $t <cmt) &&\n+\t\tgit update-ref refs/heads/master $cmt &&\n+\t\tgit cat-file commit HEAD | tail -n4 >out &&\n+\t\ttest_cmp cmt out &&\n+\t\tgit svn dcommit &&\n+\t\tprintf \"a\\\\n\\\\nb\\\\nc\\\\n\" >exp &&\n+\t\tgit cat-file commit HEAD | sed -ne 6,9p >out &&\n+\t\ttest_cmp exp out\n+\t)\n+'\n+\n+test_done\n--\nEW\n"},{"id":"334864","messageId":"20171214234943.GF3693@zaya.teonanacatl.net","threadId":"47433","inReplyTo":"BL2PR05MB217980546899C5B8EFDE06FF850A0@BL2PR05MB2179.namprd05.prod.outlook.com","subject":"Re: [PATCH] git-svn: convert CRLF to LF in commit message to SVN","fromName":"Todd Zullinger","fromEmail":"tmz@pobox.com","sentAt":"2017-12-14T23:49:43Z","receivedAt":"2017-12-14T23:49:52Z","isPatch":true,"sender":{"key":"tmz@pobox.com","avatar":"https://avatars.githubusercontent.com/u/806319?v=4"},"body":"Hi Brian,\n\nBennett, Brian wrote:\n> Thank you for your fast response,\n> \n> I haven't done a build of this type before (so I could\n> test the patch first) so I'm trying to do that and get\n> this far:\n...\n> I don't want to drag out testing the patch, so if either\n> of you are able to quickly guide me on what I am doing\n> incorrectly I am willing to get the build done so I can\n> test it. If not, could one of you build with the patch and\n> somehow get that to me so I could test?\n\nI don't know about building git for windows, but since the\ngit-svn command is a perl script, it might be easier to just\npatch that file.  I think you can find the path where\ngit-svn is installed using: git --exec-path\n\nFor this one-liner, I'd just manually apply it.\n\n(If you want to use 'git apply' or the patch command, you'll\nhave to edit the patch to adjust the name of the file, as\nit's git-svn.perl in the git tree.  The .perl suffix is\ndropped in the installed version.)\n\nHopefully that makes it easier for you to test Eric's patch.\n\n-- \nTodd\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\nI am in shape.  Round is a shape.\n\n"},{"id":"334880","messageId":"BL2PR05MB2179566C1EAE01C2ED34E7CC850B0@BL2PR05MB2179.namprd05.prod.outlook.com","threadId":"47433","inReplyTo":"20171214234943.GF3693@zaya.teonanacatl.net","subject":"RE: [PATCH] git-svn: convert CRLF to LF in commit message to SVN","fromName":"Bennett, Brian","fromEmail":"brian.bennett@transamerica.com","sentAt":"2017-12-15T14:11:25Z","receivedAt":"2017-12-15T14:11:46Z","isPatch":true,"sender":{"key":"brian.bennett@transamerica.com","avatar":null},"body":"Thank you all for your guidance,\n\nI have completed my test this morning with the patch and the 'git svn dcommit' is now SUCCESSFUl!\n\nThank you again for all of your help and I'll await to see when the patch is posted.\n\nBrian Bennett | Supv System Admin & Support, TA TECH Change Mgmt/Production Support\no: 319-355-7602 | c: 319-533-1094\ne: brian.bennett@transamerica.com | w: www.transamerica.com\n\nTransamerica\n6400 C St. SW, Cedar Rapids, IA 52404 MS-2410\nFacebook | LinkedIn\n\n\n-----Original Message-----\nFrom: Todd Zullinger [mailto:todd.zullinger@gmail.com] On Behalf Of Todd Zullinger\nSent: Thursday, December 14, 2017 5:50 PM\nTo: Bennett, Brian <Brian.Bennett@Transamerica.com>\nCc: Eric Wong <e@80x24.org>; Junio C Hamano <gitster@pobox.com>; git@vger.kernel.org\nSubject: Re: [PATCH] git-svn: convert CRLF to LF in commit message to SVN\n\nHi Brian,\n\nBennett, Brian wrote:\n> Thank you for your fast response,\n> \n> I haven't done a build of this type before (so I could test the patch \n> first) so I'm trying to do that and get this far:\n...\n> I don't want to drag out testing the patch, so if either of you are \n> able to quickly guide me on what I am doing incorrectly I am willing \n> to get the build done so I can test it. If not, could one of you build \n> with the patch and somehow get that to me so I could test?\n\nI don't know about building git for windows, but since the git-svn command is a perl script, it might be easier to just patch that file.  I think you can find the path where git-svn is installed using: git --exec-path\n\nFor this one-liner, I'd just manually apply it.\n\n(If you want to use 'git apply' or the patch command, you'll have to edit the patch to adjust the name of the file, as it's git-svn.perl in the git tree.  The .perl suffix is dropped in the installed version.)\n\nHopefully that makes it easier for you to test Eric's patch.\n\n--\nTodd\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\nI am in shape.  Round is a shape.\n\n\n"},{"id":"334906","messageId":"xmqqshcbpyws.fsf@gitster.mtv.corp.google.com","threadId":"47433","inReplyTo":"BL2PR05MB2179566C1EAE01C2ED34E7CC850B0@BL2PR05MB2179.namprd05.prod.outlook.com","subject":"Re: [PATCH] git-svn: convert CRLF to LF in commit message to SVN","fromName":"Junio C Hamano","fromEmail":"gitster@pobox.com","sentAt":"2017-12-15T19:35:31Z","receivedAt":"2017-12-15T19:35:37Z","isPatch":true,"sender":{"key":"gitster@pobox.com","avatar":"https://avatars.githubusercontent.com/u/54884?v=4"},"body":"\"Bennett, Brian\" <Brian.Bennett@Transamerica.com> writes:\n\n> Thank you all for your guidance,\n>\n> I have completed my test this morning with the patch and the 'git\n> svn dcommit' is now SUCCESSFUl!\n\nThanks, all.\n"}]}